| Index: src/platform-linux.cc
|
| diff --git a/src/platform-linux.cc b/src/platform-linux.cc
|
| index 7a186413b5f3c7c059fd9e09f50abd7490dbedbf..8022ba2d5af110ab24f155872736ed3d9a6b5f9d 100644
|
| --- a/src/platform-linux.cc
|
| +++ b/src/platform-linux.cc
|
| @@ -1153,7 +1153,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.
|
| }
|
| @@ -1198,7 +1198,6 @@ class SignalSender : public Thread {
|
|
|
| const int vm_tgid_;
|
| const int interval_;
|
| - RuntimeProfilerRateLimiter rate_limiter_;
|
|
|
| // Protects the process wide state below.
|
| static Mutex* mutex_;
|
|
|