< prev index next >
src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
Print this page
*** 64,73 ****
--- 64,76 ----
#include "gc/shenandoah/heuristics/shenandoahAggressiveHeuristics.hpp"
#include "gc/shenandoah/heuristics/shenandoahCompactHeuristics.hpp"
#include "gc/shenandoah/heuristics/shenandoahPassiveHeuristics.hpp"
#include "gc/shenandoah/heuristics/shenandoahStaticHeuristics.hpp"
#include "gc/shenandoah/heuristics/shenandoahTraversalHeuristics.hpp"
+ #if INCLUDE_JFR
+ #include "gc/shenandoah/shenandoahJfrSupport.hpp"
+ #endif
#include "memory/metaspace.hpp"
#include "oops/compressedOops.inline.hpp"
#include "runtime/globals.hpp"
#include "runtime/interfaceSupport.inline.hpp"
#include "runtime/safepointMechanism.hpp"
*** 581,590 ****
--- 584,595 ----
_full_gc->initialize(_gc_timer);
ref_processing_init();
_heuristics->initialize();
+
+ JFR_ONLY(ShenandoahJFRSupport::register_jfr_type_serializers());
}
size_t ShenandoahHeap::used() const {
return OrderAccess::load_acquire(&_used);
}
< prev index next >