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

Rickard Bäckman rickard.backman at oracle.com
Tue Jul 30 14:27:24 PDT 2013


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