RFR: 8295099: vmTestbase/nsk/stress/strace/strace013.java failed with "TestFailure: wrong lengths of stack traces: strace013Thread0: NNN strace013Thread83: MMM"
David Holmes
dholmes at openjdk.org
Mon Nov 7 05:46:53 UTC 2022
The test is incorrectly synchronized and may take the stack trace of a thread before it has entered the wait() and thus be three frames short of the correct stack. So I cleaned that up to ensure things are correctly synchronized.
A number of comments in the test description etc were wrong so I also fixed those.
These tests are stylistically awful but I refrained from embarking on a major cleanup and adopted the prevailing styles.
Testing: local plus 50x on each platform (in progress)
Thanks.
-------------
Commit messages:
- 8295099: vmTestbase/nsk/stress/strace/strace013.java failed with "TestFailure: wrong lengths of stack traces: strace013Thread0: NNN strace013Thread83: MMM"
Changes: https://git.openjdk.org/jdk/pull/11011/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11011&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8295099
Stats: 30 lines in 1 file changed: 8 ins; 13 del; 9 mod
Patch: https://git.openjdk.org/jdk/pull/11011.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11011/head:pull/11011
PR: https://git.openjdk.org/jdk/pull/11011
More information about the hotspot-runtime-dev
mailing list