RFR(XS): 8079797 assert(index >= 0 && index < _count) failed: check

Rickard Bäckman rickard.backman at oracle.com
Fri May 8 13:30:42 UTC 2015


Hi,

can I please have this change reviewed?
The recent OopMap change caused this bug when a few methods were
renamed:

size() used to return the number of OopMaps.
In the new implementation size() was used to return the number of bytes,
and count the number of Pairs.

I renamed the size() method to number_of_bytes() to avoid confusion in
the future.

Webrev: http://cr.openjdk.java.net/~rbackman/8079797/
Bug: https://bugs.openjdk.java.net/browse/JDK-8079797

The problem was triggered by running java -XX:+PrintAssembly.
Verified that java -XX:+PrintAssembly now works.

Thanks
/R
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150508/82546492/signature.asc>


More information about the hotspot-compiler-dev mailing list