RFR: 8358679: [asan] vmTestbase/nsk/jvmti tests show memory issues [v2]
Alex Menkov
amenkov at openjdk.org
Tue Jul 8 19:37:25 UTC 2025
> 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.
Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
Update test/hotspot/jtreg/vmTestbase/nsk/jvmti/RawMonitorEnter/rawmonenter003/TestDescription.java
Co-authored-by: Chris Plummer <chris.plummer at oracle.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26176/files
- new: https://git.openjdk.org/jdk/pull/26176/files/270e1db4..a6480938
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26176&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26176&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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
More information about the serviceability-dev
mailing list