Array not zeroed on creation
Dan Hicks
danhicks at fastmail.fm
Fri Sep 7 05:38:04 PDT 2012
This bug has come to my attention:
http://stackoverflow.com/questions/12317668/java-int-array-initializes-with-nonzero-elements
Basically there is a reproducible (by several people) situation where a
new int array is not zeroed. The author reports the error is
reproducible on HotSpot 64-bit server VM, Java version from 1.7.0_04 to
1.7.0_10 on Gentoo Linux, Debian Linux (both kernel 3.0 version) and
MacOS Lion. (Not tested on 32-bit or Windows.)
Reportedly bug7196857 has been filed with Oracle.
--
Dan Hicks
Nothing makes us so lonely as our secrets. --Paul Tournier
More information about the hotspot-dev
mailing list