--- old/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp 2019-05-02 15:26:56.470440252 -0400 +++ new/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp 2019-05-02 15:26:56.226441742 -0400 @@ -63,6 +63,9 @@ #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 "runtime/vmThread.hpp" @@ -505,6 +508,8 @@ ref_processing_init(); _heuristics->initialize(); + + JFR_ONLY(ShenandoahJFRSupport::register_jfr_type_serializers()); } size_t ShenandoahHeap::used() const {