RFR: 8375125: assert(false) failed: "Attempting to acquire lock NativeHeapTrimmer_lock/nosafepoint out of order with lock ConcurrentHashTableResize_lock/nosafepoint-2 -- possible deadlock" when using native heap trimmer
Thomas Stuefe
stuefe at openjdk.org
Thu Jan 15 16:04:06 UTC 2026
On Wed, 14 Jan 2026 01:12:50 GMT, David Holmes <dholmes at openjdk.org> wrote:
> @hgqxjj thanks for taking this on. It appears the same problem exists with the `StringTable`.
>
> I think this may need its own regression test though, rather than modifying the test that exposed the issue. Also we may need more testing done with the flag activated. @tstuefe do you do regular general testing with native heap trimming enabled?
Nothing automated, no. runtime/os/TestTrimNative.java tests the native trimmer functionality, beyond that no automated tests exist.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29212#issuecomment-3755572510
More information about the hotspot-dev
mailing list