RFR: 8311222: strace004 can fail due to unexpected stack length after JDK-8309408

David Holmes dholmes at openjdk.org
Fri Aug 18 05:40:26 UTC 2023


On Thu, 17 Aug 2023 16:26:15 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> The [JDK-8309408](https://bugs.openjdk.org/browse/JDK-8309408) introduced sleepNanos and the tests expected stack is updated.
> The "jdk.internal.event.ThreadSleepEvent.<init>" was added just because I hit this issue while testing fix.

Makes sense we might hit the constructor too.

That said I don't think the depth needs changing as we can't have the constructor on the stack in addition to the other methods, only in place of, so the depth can't change.

-------------

PR Review: https://git.openjdk.org/jdk/pull/15332#pullrequestreview-1583880008


More information about the hotspot-runtime-dev mailing list