----- Original Message ----- > There is an error in the latest jdk6/jdk tree which can lead it to > misreporting information passed to the JVM in the jdk_version_info > structure. In particular, this has been observed to cause the JVM GC > code in versions later than jdk6-b28 to fail to notify discovered > Reference instances to the JDK. > > The error is in function JDK_GetVersionInfo0 in file > jdk/src/share/native/common/jdk_util.c at line 79 > > memset(info, 0, sizeof(info_size)); > > The size of the struct be zeroed (info) is info_size (24 in the latest > jdk6/hotspot tree). The line above only zeroes the first 8 bytes. The > correct code is > > memset(info, 0, info_size); > > regards, > > > Andrew Dinn > ----------- >
This should be backported. It fixes this along with other such issues: changeset: 3029:871cffb21423 user: alanb date: Thu Oct 07 14:36:17 2010 +0100 summary: 6989466: Miscellaneous compiler warnings in java/lang, java/util, java/io, sun/misc native code http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/871cffb21423 -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07