RFR(XXS) : 8043899: compiler/5091921/Test7005594.java fails if specified -Xmx is less than 1600m

Igor Ignatyev igor.ignatyev at oracle.com
Mon May 26 13:34:49 UTC 2014


http://cr.openjdk.java.net/~iignatyev/8043899/webrev.00/
3 lines changed: 0 ins; 1 del; 2 mod;

Hi all,

Please review patch:

Problem:
- the test specifies '-Xms' equal to 1600m. so it will fail, if the 
harness passes '-Xmx' which is less than 1600m.
- 8015007 changed the error message in Universe::reserve_heap()
>     946   if (!total_rs.is_reserved()) {
>     947     vm_exit_during_initialization(err_msg("Could not reserve enough space for " SIZE_FORMAT "KB object heap", total_reserved/K));
>     948     return total_rs;
>     949   }
the test treats this message as a failure.

Fix:
- set Xmx to 1600m
- change the pattern of allowable error message

jbs: https://bugs.openjdk.java.net/browse/JDK-8043899
testing: failing tests in jprt
-- 
Igor


More information about the hotspot-compiler-dev mailing list