RFR (XS): 8020531: Test compiler/codecache/CheckUpperLimit.java fails when memory limited
Vladimir Kozlov
vladimir.kozlov at oracle.com
Tue Jul 30 11:18:24 PDT 2013
Good.
Vladimir
On 7/30/13 10:21 AM, 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/ <http://cr.openjdk.java.net/%7Eanoll/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