RFR: 8159890: SIGSEGV with UseStringDeduplication and UseSharedSpaces/RequireSharedSpaces
Per Liden
per.liden at oracle.com
Wed Jun 22 14:49:44 UTC 2016
Hi,
Summary: This was bug was introduced by JDK-8150607 - Clean up
CompactHashtable, where the rewrite of CompactHashtable::oops_do() by
mistake now iterates over entry[0] instead of entry[1] for regular
bucket types. This causes garbage (non-narrowOop) values to be passed to
the OopClosure passed to oops_do() and we crash. The bug is easy to
reproduce with:
$ java -Xshare:dump
$ java -XX:+UseSharedSpaces -XX:+UseStringDeduplication -version
Webrev: http://cr.openjdk.java.net/~pliden/8159890/webrev.0/
Bug: https://bugs.openjdk.java.net/browse/JDK-8159890
cheers,
Per
More information about the hotspot-runtime-dev
mailing list