After upgrading from Java 7u95 to 8u102 object allocation metrics are missing from JFR recordings when settings=profile is used. The issue exists on Solaris but Windows works just fine. The issue is easily repeatable using a standalone JVM (simply jconsole w/JFR enabled via -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,maxage=90m,stackdepth=512,settings=profile). The issue appears to be an issue w/the JVM and not the configuration/profile.jfc file as I can successfully obtain object allocation metrics on Solaris using a 7u95 JVM with a profile.jfc file taken from an 8u102 installation, however, the reverse fails (an 8u102 JVM with a profile.jfr taken from 7u95 does not collect object allocation metrics). For example: * JDK 8u102 with the profile.jfr from 8u102 - object allocations stats are missing * JDK 7u95 with the profile.jfr from 7u92 - object allocations stats are there * JDK 8u102 with the profile.jfr from 7u92 - oject allocation stats are missing * JDK 7u95 with the profile.jfr from 8u102 - object allocations are there
|