RFR: 8257885: [TESTBUG] java/foreign/TestSegments.java fails on x86_32

Jie Fu jiefu at openjdk.java.net
Tue Dec 8 09:25:11 UTC 2020


On Tue, 8 Dec 2020 09:07:27 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> `-Xm3800M` could still fail on many 32-bit systems, for example where native libraries are located in the middle of address space. I think it is safer to `@require` it. In fact, I did it an hour ago here #1688 :)

The test just limits the maximum memory to be used, not the minimum memory. 
So I think the foreign api should also work on 32-bit platforms.

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

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


More information about the core-libs-dev mailing list