RFR(S): 8200078: [Graal] runtime/appcds/GraalWithLimitedMetaspace.java crashes in visit_all_interfaces
mikhailo
mikhailo.seledtsov at oracle.com
Thu Mar 29 20:27:29 UTC 2018
The test portion looks good to me.
I have one question - are you able to reliably reproduce this issue
using GraalWithLimitedMetaspace.java or MaxMetaspaceSize.java ?
Thank you,
Misha
On 03/29/2018 10:49 AM, Calvin Cheung wrote:
> bug: https://bugs.openjdk.java.net/browse/JDK-8200078
>
> webrev: http://cr.openjdk.java.net/~ccheung/8200078/webrev.00/
>
> During CDS dumping, when a class fails to load due to OOM
> (insufficient metaspace), GC tries to free the class which will in
> turn frees its _transitive_interfaces. But if the
> _transitive_interfaces is being shared with another class which has
> been loaded successfully, it will result in vm crash.
>
> The change is to stop CDS dumping right away when an OOM due to
> insufficient metaspace is encountered.
>
> Testing:
> hs-tier1 through hs-tiers on Oracle supported platforms.
>
> thanks,
> Calvin
More information about the hotspot-runtime-dev
mailing list