I think it is safe to assume that jvmstat no longer needs to support querying 1.4.2 JVMs. The issue was fixed in Java 5.

Chris

On 10/28/21 12:48 AM, Magnus Ihse Bursie wrote:
I noticed the following piece of code in src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/v1_0/PerfDataBuffer.java:

if (jvm_name.stringValue().indexOf("HotSpot") >= 0) {
if (jvm_version.stringValue().startsWith("1.4.2")) {
kludgeMantis(map, args);
}
}

It looks like there's some room for cleaning out old cruft here...

/Magnus

Reply via email to