Integrated: 8358679: [asan] vmTestbase/nsk/jvmti tests show memory issues

Alex Menkov amenkov at openjdk.org
Thu Jul 10 19:59:44 UTC 2025


On Tue, 8 Jul 2025 00:01:50 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> The fix updates several tests ASAN complains about.
> Tests for RawMonitors intentionally passes bad pointer to tested function, they should not be run with ASAN.
> Test vmTestbase/nsk/jvmti/scenarios/events/EM07/em07t002 verifies COMPILED_METHOD_LOAD/COMPILED_METHOD_UNLOAD event and uses RawMonitor for synchronization. It destroys the monitor, but some events may arrive later (before VM exits). Usually JVMTI tests do not destroy synchronization monitors, removed destruction here.

This pull request has now been integrated.

Changeset: 2300a212
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2300a212dd135f1f01604c5c2915653a3f3bd869
Stats:     25 lines in 6 files changed: 15 ins; 4 del; 6 mod

8358679: [asan] vmTestbase/nsk/jvmti tests show memory issues

Reviewed-by: cjplummer, sspitsyn

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

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


More information about the serviceability-dev mailing list