RFR: 8346123: [REDO] NMT should not use ThreadCritical [v6]

Robert Toyonaga duke at openjdk.org
Fri Dec 20 20:24:39 UTC 2024


On Fri, 20 Dec 2024 17:22:30 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Robert Toyonaga has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Revert to using NmtVirtualMemoryLocker. Use defaultStream. Add comment for SharedDecoder_lock
>
> src/hotspot/os/windows/os_windows.cpp line 3626:
> 
>> 3624:       os::print_memory_mappings((char*)start, bytes, &fs);
>> 3625:       assert(false, "bad release: [" PTR_FORMAT "-" PTR_FORMAT "): %s", p2i(start), p2i(end), err);
>> 3626: #endif
> 
> @roberttoyonaga Thinking about this, I propose to just remove the os::print_memory_mappings call here. I added this way back when we had problems on Windows with removing "striped" NUMA mappings, but those issues have long been solved. We still have the assertion check, so we will notice if something goes wrong.

Ok I've removed it now

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22745#discussion_r1894359621


More information about the serviceability-dev mailing list