RFR: 8209802: Garbage collectors should register JFR types themselves to avoid build errors.
stefan.johansson at oracle.com
Mon Sep 2 19:18:58 UTC 2019
Please review this patch to fix JDK-8209802.
This patch builds on the cleanup made in JDK-JDK-8230431, and adds an initialize method to G1NewTracer, that takes care of registering serializers needed for the two G1-specific constants in JFR. There is also a G1 periodic event but there is no similar way to register this from G1 code so it needs to be solved by guarding the G1 specific code in jfrPeriodic.cpp.
Mach5 tier 1-3
More information about the hotspot-gc-dev