RFR: 8159890: SIGSEGV with UseStringDeduplication and UseSharedSpaces/RequireSharedSpaces

Stefan Karlsson stefan.karlsson at oracle.com
Wed Jun 22 14:51:21 UTC 2016


Looks good.

StefanK

On 2016-06-22 16:49, 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
>



More information about the hotspot-runtime-dev mailing list