RFR (XS): 8020531: Test compiler/codecache/CheckUpperLimit.java fails when memory limited
Albert Noll
albert.noll at oracle.com
Tue Jul 30 10:21:47 PDT 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20130730/7abfcea8/attachment.html
More information about the hotspot-compiler-dev
mailing list