RFR (S): 8039146: Fix 64-bit store to int JNIHandleBlock::_top

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Thu Apr 3 13:33:27 UTC 2014


Hi,

please review an test this small fix to the interpreters.  I please need
a sponsor.
http://cr.openjdk.java.net/~goetz/webrevs/8039146-intSt/webrev.00/

JNIHandleBlock::_top is an int field. Various places store into
this field using a pointer store. On 64-bit platforms
this can cause errors.

This change adapts the corresponding operations on sparc
and both x86 variants to use fixed 32-bit operations.

Best regards,
  Goetz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20140403/5930993a/attachment.html>


More information about the hotspot-runtime-dev mailing list