RFR: 8284027: vmTestbase/nsk/jvmti/GetAllThreads/allthr001/ is failing [v2]
Alex Menkov
amenkov at openjdk.java.net
Tue May 3 23:20:28 UTC 2022
> The test counts all "system" threads before the execution and expects that this number remains the same during test execution.
> This makes the test fragile - JVM may start internal threads, some threads may end.
>
> The fix updates the test:
> - the test checks only test threads, and verify that the live threads are reported by GetAllThreads and terminated threads are not reported;
> - dropped "system" thread counting stuff;
> - added proper deallocation of GetThreadInfo results.
Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
feedback
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/8512/files
- new: https://git.openjdk.java.net/jdk/pull/8512/files/a7ae12d8..1539460c
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8512&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8512&range=00-01
Stats: 7 lines in 1 file changed: 1 ins; 0 del; 6 mod
Patch: https://git.openjdk.java.net/jdk/pull/8512.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8512/head:pull/8512
PR: https://git.openjdk.java.net/jdk/pull/8512
More information about the serviceability-dev
mailing list