RFR (XS): 8020531: Test compiler/codecache/CheckUpperLimit.java fails when memory limited

Albert Noll albert.noll at oracle.com
Tue Jul 30 14:49:51 PDT 2013


Hi,

Vladimir, Rickard, thanks for reviewing.

Albert

On 30.07.2013 14:27, Rickard Bäckman wrote:
> Looks good.
>
> /R
>
> On Jul 30, 2013, at 7:21 PM, Albert Noll wrote:
>
>> Hi all,
>>
>> please review this small patch:
>>
>> jbs: https://jbs.oracle.com/bugs/browse/JDK-8020531
>> webrev: http://cr.openjdk.java.net/~anoll/8020531/webrev.00/
>>
>> Problem:
>> The test assumes that a Java process can allocate 2GB of memory. However, this is not true for systems with limited available memory.
>>
>> Solution:
>> Remove check that starting the VM with -XX:ReservedCodeCacheSize=2048m must be possible. Instead, only check that starting the VM with -XX:ReservedCodeCacheSize=2049m is NOT possible.
>>
>> Many thanks in advance,
>> Albert



More information about the hotspot-compiler-dev mailing list