RFR: 8159890: SIGSEGV with UseStringDeduplication and UseSharedSpaces/RequireSharedSpaces
Jiangli Zhou
jiangli.zhou at oracle.com
Wed Jun 22 16:29:36 UTC 2016
Hi Per,
Looks good!
Jiangli
> On Jun 22, 2016, at 7:49 AM, Per Liden <per.liden at oracle.com> 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
>
More information about the hotspot-runtime-dev
mailing list