equal
deleted
inserted
replaced
407 assert(SafepointSynchronize::is_at_safepoint(), "invariant"); |
407 assert(SafepointSynchronize::is_at_safepoint(), "invariant"); |
408 _stack_trace_repository.clear(); |
408 _stack_trace_repository.clear(); |
409 _string_pool.clear(); |
409 _string_pool.clear(); |
410 _storage.clear(); |
410 _storage.clear(); |
411 _checkpoint_manager.shift_epoch(); |
411 _checkpoint_manager.shift_epoch(); |
412 _chunkwriter.time_stamp_chunk_now(); |
412 _chunkwriter.set_time_stamp(); |
413 } |
413 } |
414 |
414 |
415 void JfrRecorderService::post_safepoint_clear() { |
415 void JfrRecorderService::post_safepoint_clear() { |
416 _checkpoint_manager.clear(); |
416 _checkpoint_manager.clear(); |
417 } |
417 } |
685 ObjectSampleCheckpoint::resolve_sampled_objects(); |
685 ObjectSampleCheckpoint::resolve_sampled_objects(); |
686 } |
686 } |
687 _storage.write_at_safepoint(); |
687 _storage.write_at_safepoint(); |
688 _checkpoint_manager.notify_threads(); |
688 _checkpoint_manager.notify_threads(); |
689 _checkpoint_manager.shift_epoch(); |
689 _checkpoint_manager.shift_epoch(); |
690 _chunkwriter.time_stamp_chunk_now(); |
690 _chunkwriter.set_time_stamp(); |
691 } |
691 } |
692 |
692 |
693 // |
693 // |
694 // post-safepoint write sequence |
694 // post-safepoint write sequence |
695 // |
695 // |
730 pre_safepoint_write(); |
730 pre_safepoint_write(); |
731 // Do not attempt safepoint dependent operations during emergency dump. |
731 // Do not attempt safepoint dependent operations during emergency dump. |
732 // Optimistically write tagged artifacts. |
732 // Optimistically write tagged artifacts. |
733 _checkpoint_manager.shift_epoch(); |
733 _checkpoint_manager.shift_epoch(); |
734 // update time |
734 // update time |
735 _chunkwriter.time_stamp_chunk_now(); |
735 _chunkwriter.set_time_stamp(); |
736 post_safepoint_write(); |
736 post_safepoint_write(); |
737 } |
737 } |
738 |
738 |
739 void JfrRecorderService::process_full_buffers() { |
739 void JfrRecorderService::process_full_buffers() { |
740 if (_chunkwriter.is_valid()) { |
740 if (_chunkwriter.is_valid()) { |