You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.9 KiB

  1. diff -urN a/deps/v8/src/base/platform/condition-variable.cc b/deps/v8/src/base/platform/condition-variable.cc
  2. --- a/deps/v8/src/base/platform/condition-variable.cc 2019-09-05 00:36:23.000000000 +0900
  3. +++ b/deps/v8/src/base/platform/condition-variable.cc 2019-09-12 15:10:01.063792083 +0900
  4. @@ -16,7 +16,7 @@
  5. ConditionVariable::ConditionVariable() {
  6. #if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \
  7. - (V8_OS_LINUX && V8_LIBC_GLIBC))
  8. + V8_OS_LINUX)
  9. // On Free/Net/OpenBSD and Linux with glibc we can change the time
  10. // source for pthread_cond_timedwait() to use the monotonic clock.
  11. pthread_condattr_t attr;
  12. @@ -92,7 +92,7 @@
  13. &native_handle_, &mutex->native_handle(), &ts);
  14. #else
  15. #if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \
  16. - (V8_OS_LINUX && V8_LIBC_GLIBC))
  17. + V8_OS_LINUX)
  18. // On Free/Net/OpenBSD and Linux with glibc we can change the time
  19. // source for pthread_cond_timedwait() to use the monotonic clock.
  20. result = clock_gettime(CLOCK_MONOTONIC, &ts);
  21. diff -urN a/deps/v8/src/base/platform/platform-posix.cc b/deps/v8/src/base/platform/platform-posix.cc
  22. --- a/deps/v8/src/base/platform/platform-posix.cc 2019-09-05 00:36:23.000000000 +0900
  23. +++ b/deps/v8/src/base/platform/platform-posix.cc 2019-09-12 15:10:01.063792083 +0900
  24. @@ -773,7 +773,7 @@
  25. #if V8_OS_MACOSX
  26. // Default on Mac OS X is 512kB -- bump up to 1MB
  27. stack_size = 1 * 1024 * 1024;
  28. -#elif V8_OS_AIX
  29. +#elif V8_OS_AIX || !defined(__GLIBC__)
  30. // Default on AIX is 96kB -- bump up to 2MB
  31. stack_size = 2 * 1024 * 1024;
  32. #endif
  33. diff -urN a/deps/v8/src/codegen/external-reference-table.cc b/deps/v8/src/codegen/external-reference-table.cc
  34. --- a/deps/v8/src/codegen/external-reference-table.cc 2019-09-05 00:36:23.000000000 +0900
  35. +++ b/deps/v8/src/codegen/external-reference-table.cc 2019-09-12 15:09:41.959828134 +0900
  36. @@ -9,7 +9,7 @@
  37. #include "src/ic/stub-cache.h"
  38. #include "src/logging/counters.h"
  39. -#if defined(DEBUG) && defined(V8_OS_LINUX) && !defined(V8_OS_ANDROID)
  40. +#if defined(DEBUG) && defined(V8_OS_LINUX) && !defined(V8_OS_ANDROID) && defined(V8_LIBC_GLIBC)
  41. #define SYMBOLIZE_FUNCTION
  42. #include <execinfo.h>
  43. #include <vector>
  44. diff -urN a/deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc b/deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc
  45. --- a/deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc 2019-09-05 00:36:23.000000000 +0900
  46. +++ b/deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc 2019-09-12 15:10:01.063792083 +0900
  47. @@ -134,8 +134,10 @@
  48. // The function may have already been optimized by OSR. Simply continue.
  49. // Use a mutex to make sure that functions marked for install
  50. // are always also queued.
  51. - base::MutexGuard access_output_queue_(&output_queue_mutex_);
  52. - output_queue_.push(job);
  53. + {
  54. + base::MutexGuard access_output_queue_(&output_queue_mutex_);
  55. + output_queue_.push(job);
  56. + }
  57. }
  58. isolate_->stack_guard()->RequestInstallCode();