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

Tobias Hartmann tobias.hartmann at oracle.com
Thu Dec 4 06:02:35 UTC 2014


Thanks, Vladimir.

Best,
Tobias

On 03.12.2014 17:46, Vladimir Kozlov wrote:
> Good.
> 
> Thanks,
> Vladimir
> 
> 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