RFR: 8332362: Implement os::committed_in_range for MacOS and AIX [v4]

Thomas Stuefe stuefe at openjdk.org
Thu Jun 13 06:34:14 UTC 2024


On Wed, 12 Jun 2024 13:38:06 GMT, Robert Toyonaga <duke at openjdk.org> wrote:

>> This version builds on AIX. I can retry our nightly tests.
>
>> This version builds on AIX. I can retry our nightly tests.
> 
> Thank you!

@roberttoyonaga @TheRealMDoerr Thanks, Martin, for testing. 

Pity, I was hoping we could finally have real thread stack sizes in NMT on AIX. To see how much thread stack space is actually used.

My assumption is that mincore just does not work on thread stacks on AIX, since the manpage states "The mincore subroutine returns the primary-memory residency status for regions created from calls made to the mmap subroutine. " and I think the pthread lib does not use mmap but (I guess) brk. 

@roberttoyonaga Okay, I would still keep the unified version for all POSIX platforms, but exclude AIX (just return). Then, exclude the test for AIX again.

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

PR Comment: https://git.openjdk.org/jdk/pull/19455#issuecomment-2164606961


More information about the hotspot-runtime-dev mailing list