< prev index next >

core/org.openjdk.jmc.flightrecorder/src/main/java/org/openjdk/jmc/flightrecorder/parser/synthetic/JdkTypeIDsPreJdk11.java

Print this page

        

*** 205,228 **** + "vm/gc/metaspace/chunk_free_list_summary"; private final static String GC_METASPACE_GC_THRESHOLD = JVM_EVENT_ID_ROOT + "vm/gc/metaspace/gc_threshold"; final static String RECORDINGS = JFR_INFO_EVENT_ID_ROOT + "recordings/recording"; final static String RECORDING_SETTING = JFR_INFO_EVENT_ID_ROOT + "recordings/recording_setting"; ! ! /** ! * Determine if a typeId needs to be transformed into a JDK 11 type id. ! * ! * @param typeId ! * type id ! * @return true if transformation is needed, false otherwise. ! */ ! public static boolean needTransform(String typeId) { ! if (typeId.startsWith(PREFIX)) { ! return false; ! } ! return typeId.startsWith(EVENT_ID_ROOT) || typeId.startsWith(PREFIX_9_10); ! } /** * Translate a pre-JDK 11 type id into a JDK 11 type id. * * @param typeId --- 205,215 ---- + "vm/gc/metaspace/chunk_free_list_summary"; private final static String GC_METASPACE_GC_THRESHOLD = JVM_EVENT_ID_ROOT + "vm/gc/metaspace/gc_threshold"; final static String RECORDINGS = JFR_INFO_EVENT_ID_ROOT + "recordings/recording"; final static String RECORDING_SETTING = JFR_INFO_EVENT_ID_ROOT + "recordings/recording_setting"; ! final static String JDK9_RECORDING_SETTING = PREFIX_9_10 + "ActiveSetting"; /** * Translate a pre-JDK 11 type id into a JDK 11 type id. * * @param typeId
< prev index next >