RFR: 8299915: Remove ArrayAllocatorMallocLimit and associated code [v4]

Tyler Steele tsteele at openjdk.org
Fri Jan 20 23:16:05 UTC 2023


On Wed, 11 Jan 2023 18:10:47 GMT, Justin King <jcking at openjdk.org> wrote:

> This leaves at least AIX as a potential problem. @backwaterred, does the AIX libc malloc() still exclusively use the data segment? Does free'd memory still stick to the process?

I agree with @coleenp that AIX seems to still use the data segment and sbrk for dynamic memory allocation. I am not sure about memory sticking to the process.

With these changes I see several of the gtests failing on AIX.


[==========] 58 tests from 6 test cases ran. (3718 ms total)
[  PASSED  ] 53 tests.
[  FAILED  ] 5 tests, listed below:
[  FAILED  ] os.safefetchN_negative_vm
[  FAILED  ] os.safefetch32_negative_vm
[  FAILED  ] os.safefetchN_negative_current_null_vm
[  FAILED  ] os.safefetch32_negative_current_null_vm
[  FAILED  ] os.safefetch_negative_at_safepoint_vm


I can experiment with the disclaim option as well.

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

PR: https://git.openjdk.org/jdk/pull/11931


More information about the serviceability-dev mailing list