RFR(S): 8196626: [Graal] runtime/appcds/UseAppCDS.java crashes with "VM thread using lock Heap_lock (not allowed to block on)"

Calvin Cheung calvin.cheung at oracle.com
Wed Mar 7 19:20:51 UTC 2018

bug: https://bugs.openjdk.java.net/browse/JDK-8196626

webrev: http://cr.openjdk.java.net/~ccheung/8196626/webrev.00/

This change is to print a message and abort CDS dumping when the 
allocation of metaspace has failed.

The message will look like the following:

     Failed allocating metaspace object type TypeArrayU8 of size 24. CDS 
dump aborted.

The crash can be reproduced reliably with the new test case.

     The new test case on linux-x64, macosx, windows-x64.
     hs-tier[1|2|3] on the above platforms plus sparcv9.


More information about the hotspot-runtime-dev mailing list