Index: src/cpu-profiler.cc |
diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc |
index 0a83b85f50593cf272273efe163ffe4bf1a9e3e4..747542f73781d79efc5ec5d297af6d7b6c1020da 100644 |
--- a/src/cpu-profiler.cc |
+++ b/src/cpu-profiler.cc |
@@ -106,7 +106,7 @@ bool ProfilerEventsProcessor::ProcessCodeEvent() { |
bool ProfilerEventsProcessor::ProcessTicks() { |
while (true) { |
- if (!ticks_from_vm_buffer_.IsEmpty() |
+ while (!ticks_from_vm_buffer_.IsEmpty() |
&& ticks_from_vm_buffer_.Peek()->order == |
last_processed_code_event_id_) { |
TickSampleEventRecord record; |