JDK-8222103 : [testbug] compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest may exceed VM limit
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-04-08
  • Updated: 2019-07-19
  • Resolved: 2019-06-05
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 13 JDK 14
13 b24Fixed 14Fixed
Related Reports
Relates :  
Relates :  
Description
The test generates a random number of compiler directives, which might be greater than the value of CompilerDirectivesLimit. This causes the VM to stop execution upon the corresponding capacity check.

Fix: set CompilerDirectivesLimit to the max random number used.
Comments
Test bugfix also works for JDK11u. Applies cleanly. However, there are related issues (see above).
19-07-2019

See http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2019-April/033340.html http://cr.openjdk.java.net/~goetz/wr19/peter/8222103-01
08-04-2019