--- old/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp 2019-05-10 10:58:28.942388044 -0400 +++ new/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp 2019-05-10 10:58:28.630390074 -0400 @@ -66,6 +66,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 "oops/compressedOops.inline.hpp" #include "runtime/globals.hpp" @@ -583,6 +586,8 @@ ref_processing_init(); _heuristics->initialize(); + + JFR_ONLY(ShenandoahJFRSupport::register_jfr_type_serializers()); } size_t ShenandoahHeap::used() const {