RFR: 8159890: SIGSEGV with UseStringDeduplication and UseSharedSpaces/RequireSharedSpaces
Derek White
derek.white at oracle.com
Wed Jun 22 16:04:04 UTC 2016
On 6/22/16 10:49 AM, Per Liden wrote:
> 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
>
Looks good to me too.
- Derek
More information about the hotspot-runtime-dev
mailing list