equal
deleted
inserted
replaced
437 void JfrCheckpointManager::write_type_set_for_unloaded_classes() { |
437 void JfrCheckpointManager::write_type_set_for_unloaded_classes() { |
438 assert_locked_or_safepoint(ClassLoaderDataGraph_lock); |
438 assert_locked_or_safepoint(ClassLoaderDataGraph_lock); |
439 JfrTypeManager::write_type_set_for_unloaded_classes(); |
439 JfrTypeManager::write_type_set_for_unloaded_classes(); |
440 } |
440 } |
441 |
441 |
442 bool JfrCheckpointManager::is_type_set_checkpoint_required() const { |
442 bool JfrCheckpointManager::is_type_set_required() { |
443 return JfrTraceIdEpoch::is_klass_tagged_in_epoch(); |
443 return JfrTraceIdEpoch::is_klass_tagged_in_epoch(); |
|
444 } |
|
445 |
|
446 bool JfrCheckpointManager::is_constant_set_required() { |
|
447 return JfrTypeManager::is_new_constant_registered(); |
444 } |
448 } |
445 |
449 |
446 size_t JfrCheckpointManager::flush_type_set() { |
450 size_t JfrCheckpointManager::flush_type_set() { |
447 const size_t elements = JfrTypeManager::flush_type_set(); |
451 const size_t elements = JfrTypeManager::flush_type_set(); |
448 flush(); |
452 flush(); |
449 return elements; |
453 return elements; |
450 } |
454 } |
451 |
455 |
|
456 void JfrCheckpointManager::flush_constant_set() { |
|
457 flush(); |
|
458 } |
|
459 |
452 void JfrCheckpointManager::create_thread_checkpoint(Thread* t) { |
460 void JfrCheckpointManager::create_thread_checkpoint(Thread* t) { |
453 JfrTypeManager::create_thread_checkpoint(t); |
461 JfrTypeManager::create_thread_checkpoint(t); |
454 } |
462 } |
455 |
463 |
456 void JfrCheckpointManager::write_thread_checkpoint(Thread* t) { |
464 void JfrCheckpointManager::write_thread_checkpoint(Thread* t) { |