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.
------------- Commit messages: - fix Changes: https://git.openjdk.org/jdk/pull/26176/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26176&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8358679 Stats: 25 lines in 6 files changed: 15 ins; 4 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/26176.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26176/head:pull/26176 PR: https://git.openjdk.org/jdk/pull/26176