RFR(S): 8196626: [Graal] runtime/appcds/UseAppCDS.java crashes with "VM thread using lock Heap_lock (not allowed to block on)"
ioi.lam at oracle.com
Thu Mar 8 06:42:27 UTC 2018
The VM changes look good.
For the test, instead of invoking the jartool directly, maybe you can do
something like this?
* @run driver ClassFileInstaller -jar test.jar UseAppCDS_Test
Also, the "String unexpectedClasses" is always empty. Maybe this code
should be removed?
On 3/7/18 11:20 AM, Calvin Cheung wrote:
> 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