On Tue, 8 Dec 2020 23:55:05 GMT, Claes Redestad <redes...@openjdk.org> wrote:

>> See here:
>>  https://github.com/mcimadamore/jdk/runs/1460615378
>> 
>> $ CONF=linux-x86-server-fastdebug make images run-test 
>> TEST=java/foreign/TestSegments.java
>> 
>> STDERR:
>> Invalid maximum heap size: -Xmx4G
>> The specified size exceeds the maximum representable size.
>> Error: Could not create the Java Virtual Machine.
>> Error: A fatal exception has occurred. Program will exit.
>> 
>> Adding `@requires` in the same form other `java/foreign` tests have it skips 
>> the test on 32-bit platforms.
>> 
>> Additional testing: 
>>  - [x] Affected test on Linux x86_32 (skipped now)
>>  - [x] Affected test on Linux x86_64 (still passes)
>
> Marked as reviewed by redestad (Reviewer).

Lowering the mx size to 3G works - and I believe should work on 32bits too? 
Disabling the entire test seems a bit overkill IMHO.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1688

Reply via email to