RFR: 8257885: [TESTBUG] java/foreign/TestSegments.java fails on x86_32
Jie Fu
jiefu at openjdk.java.net
Tue Dec 8 09:03:17 UTC 2020
Hi all,
java/foreign/TestSegments.java fails on x86_32 due to '-Xmx4G'.
The reason is that -Xmx4G is invalid maximum heap size for 32-bit platforms.
The current implimentation only supports maximum 3800M on 32-bit systems [1].
The fix just change '-Xmx4G' to '-Xmx3500M'.
Testing:
- java/foreign/TestSegments.java on Linux/x86_{32,64}
Thanks.
Best regards,
Jie
[1] https://github.com/openjdk/jdk/blob/master/src/hotspot/os/posix/os_posix.cpp#L567
-------------
Commit messages:
- 8257885: [TESTBUG] java/foreign/TestSegments.java fails on x86_32
Changes: https://git.openjdk.java.net/jdk/pull/1689/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1689&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8257885
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/1689.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1689/head:pull/1689
PR: https://git.openjdk.java.net/jdk/pull/1689
More information about the core-libs-dev
mailing list