RFR(XXS) : 8043899: compiler/5091921/Test7005594.java fails if specified -Xmx is less than 1600m
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Tue May 27 14:21:30 UTC 2014
Looks good.
Best regards,
Vladimir Ivanov
On 5/26/14 5:34 PM, Igor Ignatyev wrote:
> 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
More information about the hotspot-compiler-dev
mailing list