[9] RFR(S): 8066448: SmallCodeCacheStartup.java exits with exit code 1

Tobias Hartmann tobias.hartmann at oracle.com
Wed Dec 3 13:44:37 UTC 2014


please review the following small patch.

Bug: https://bugs.openjdk.java.net/browse/JDK-8066448
Webrev: http://cr.openjdk.java.net/~thartmann/8066448/webrev.00/

JDK-8064696 changed the test to always expect an exit value of 0. However, the
test is run with a very small code cache size to check for compiler startup
failures and may fail during initialization with a VirtualMachineError because
we are "Out of space in CodeCache for method handle adapters".

I changed the test to check for a VirtualMachineError in case VM initialization
failed. I also fixed the "Out of space in CodeCache for adapters" message to be
consistent with the "Out of space in CodeCache for method handle adapters"
message (upper-case "O").

- Failing test on JPRT


More information about the hotspot-compiler-dev mailing list