RFR: 8300317: vmTestbase/nsk/stress/strace/strace* tests fail with "ERROR: wrong lengths of stack traces"
Leonid Mesnik
lmesnik at openjdk.org
Tue Mar 14 22:07:51 UTC 2023
On Tue, 14 Mar 2023 00:45:03 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> The same bug as https://bugs.openjdk.org/browse/JDK-8295099 vmTestbase/nsk/stress/strace/strace013.java failed with "TestFailure: wrong lengths of stack traces: strace013Thread0: NNN strace013Thread83: MMM"
>
> The test starts failing after changing implementation of Object.wait() method in loom. This method might call Object.wait() and increase stack length of dump.
Thanks David. Test call 100 recursive calls and verifies that getAllStackTraces() length differ from getStackTrace() length less by 3. The implementation method which test doesn't control. So the reasons for this check remain the same.
-------------
PR: https://git.openjdk.org/jdk/pull/13008
More information about the hotspot-runtime-dev
mailing list