| Index: src/platform-solaris.cc
|
| diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc
|
| index 70f86596e838444e5e2481eab14b44496dd9fb7f..85a08d20568e2123eec3bab14bb98fac9d631cca 100644
|
| --- a/src/platform-solaris.cc
|
| +++ b/src/platform-solaris.cc
|
| @@ -762,7 +762,7 @@ class SignalSender : public Thread {
|
| SamplerRegistry::IterateActiveSamplers(&DoCpuProfile, this);
|
| } else {
|
| if (signal_handler_installed_) RestoreSignalHandler();
|
| - if (rate_limiter_.SuspendIfNecessary()) continue;
|
| + if (RuntimeProfiler::WaitForSomeIsolateToEnterJS()) continue;
|
| }
|
| Sleep(); // TODO(svenpanne) Figure out if OS:Sleep(interval_) is enough.
|
| }
|
| @@ -797,7 +797,6 @@ class SignalSender : public Thread {
|
| }
|
|
|
| const int interval_;
|
| - RuntimeProfilerRateLimiter rate_limiter_;
|
|
|
| // Protects the process wide state below.
|
| static Mutex* mutex_;
|
|
|