equal
deleted
inserted
replaced
331 if (PrintSafepointStatistics) { |
331 if (PrintSafepointStatistics) { |
332 update_statistics_on_spin_end(); |
332 update_statistics_on_spin_end(); |
333 } |
333 } |
334 |
334 |
335 if (sync_event.should_commit()) { |
335 if (sync_event.should_commit()) { |
336 sync_event.set_safepointId(safepoint_counter()); |
336 // Group this event together with the ones committed after the counter is increased |
|
337 sync_event.set_safepointId(safepoint_counter() + 1); |
337 sync_event.set_initialThreadCount(initial_running); |
338 sync_event.set_initialThreadCount(initial_running); |
338 sync_event.set_runningThreadCount(_waiting_to_block); |
339 sync_event.set_runningThreadCount(_waiting_to_block); |
339 sync_event.set_iterations(iterations); |
340 sync_event.set_iterations(iterations); |
340 sync_event.commit(); |
341 sync_event.commit(); |
341 } |
342 } |