RFR(XS): 8073954: Initialize _replaced_nodes in SafePoints.

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Thu Feb 26 11:48:35 UTC 2015


please review this tiny fix in the C2 compiler.  I please need a sponsor.

The field _replaced_node added to SafePoints in "8026796: Make replace_in_map() on parent maps generic"
is not initialized to NULL.  As the memory is pre-set to 0, this doesn't cause immediate problems.
But we saw lots of sporadic failures in our nightly tests of SAP JVM with the debug build, where memory
in Arenas is zapped to 0xab.  We also saw rare failures with the opt builds.


8026796 was downported to 8u40, so it's wrong there, too.

Best regards,

More information about the hotspot-dev mailing list