New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8257885: [TESTBUG] java/foreign/TestSegments.java fails on x86_32 #1689
Conversation
|
/issue add JDK-8257885 |
@DamonFool This issue is referenced in the PR title - it will now be updated. |
@DamonFool |
@DamonFool The |
|
The test just limits the maximum memory to be used, not the minimum memory. |
Well, I think the test still fails with your fix: https://github.com/DamonFool/jdk/runs/1516430124 -- as I suspected it would :( |
OK. |
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:
Thanks.
Best regards,
Jie
[1] https://github.com/openjdk/jdk/blob/master/src/hotspot/os/posix/os_posix.cpp#L567
Progress
Issue
Download
$ git fetch https://git.openjdk.java.net/jdk pull/1689/head:pull/1689
$ git checkout pull/1689