JDK-8217848 : [Graal] vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted003/TestDescription.java fails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,12,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-01-26
  • Updated: 2022-01-05
  • Resolved: 2019-01-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13
11.0.11Fixed 13 b07Fixed
Related Reports
Relates :  
Description
----------System.err:(4/274)----------
MetaspaceSize (12582912) must be less than or equal to MaxMetaspaceSize (9437184)
MaxMetaspaceSize (9437184) must be greater than or equal to MetaspaceSize (9437184)
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Comments
Fix Request (OpenJDK 11u): The patch applies cleanly to jdk11u-dev. Executed tests: jtreg, jck - no regressions.
24-02-2021

URL: http://hg.openjdk.java.net/jdk/jdk/rev/8da08ded586f User: iignatyev Date: 2019-01-31 20:54:02 +0000
31-01-2019

http://cr.openjdk.java.net/~iignatyev//8217848/webrev.00/index.html
31-01-2019

this is not a test bug at all, making sure we don't make MetaspaceSize more than MaxMetaspaceSize is enough for the test to pass. removing testbug label.
31-01-2019

I believe there are both test and product bug, we shouldn't increase MetaspaceSize to the value greater than specified MaxMetaspaceSize.
31-01-2019

ILW = Test fails due to invalid Metaspace size (test bug), single test with JVMCI enabled, no workaround = MLH = P4
29-01-2019

With JVMCI enabled, we increase the default MetaspaceSize. The test sets the max size less than the default size, causing the failure.
26-01-2019