src/hotspot/share/gc/z/zTracer.cpp
changeset 58863 c16ac7a2eba4
parent 58704 8b16701b4636
equal deleted inserted replaced
58861:2c3cc4b01880 58863:c16ac7a2eba4
    57   }
    57   }
    58 };
    58 };
    59 
    59 
    60 static void register_jfr_type_serializers() {
    60 static void register_jfr_type_serializers() {
    61   JfrSerializer::register_serializer(TYPE_ZSTATISTICSCOUNTERTYPE,
    61   JfrSerializer::register_serializer(TYPE_ZSTATISTICSCOUNTERTYPE,
    62                                      false /* require_safepoint */,
       
    63                                      true /* permit_cache */,
    62                                      true /* permit_cache */,
    64                                      new ZStatisticsCounterTypeConstant());
    63                                      new ZStatisticsCounterTypeConstant());
    65   JfrSerializer::register_serializer(TYPE_ZSTATISTICSSAMPLERTYPE,
    64   JfrSerializer::register_serializer(TYPE_ZSTATISTICSSAMPLERTYPE,
    66                                      false /* require_safepoint */,
       
    67                                      true /* permit_cache */,
    65                                      true /* permit_cache */,
    68                                      new ZStatisticsSamplerTypeConstant());
    66                                      new ZStatisticsSamplerTypeConstant());
    69 }
    67 }
    70 
    68 
    71 #endif // INCLUDE_JFR
    69 #endif // INCLUDE_JFR