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

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Dec 3 16:46:30 UTC 2014



On 12/3/14 5:44 AM, Tobias Hartmann wrote:
> Hi,
> 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/
> Problem:
> 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".
> Solution:
> 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").
> Testing:
> - Failing test on JPRT
> Thanks,
> Tobias

More information about the hotspot-compiler-dev mailing list