openj9
openj9 copied to clipboard
Correctly initialize walkState values when calling walkStackFrames
After a thread's stackWalkState is used, we don't reset the fields to 0 but expects future code uses to set the parameters to the expected value before calling walkStackFrames. This change fixes walkWrapperImpl where userData1 is not properly set.
Fixes: #18696 Fixes: #18961
Personal build, build failures due to network issue, sanity.functional test failure is unrelated.
@keithc-ca can you please take a look at this.
Jenkins test sanity alinux jdk17,jdk22
Exclude test (java/lang/StackWalker/CallerSensitiveMethod/Main.java
) passed in https://openj9-jenkins.osuosl.org/job/Grinder/3319.
The most recent personal build is here.
There was one CRIU test failure which seems unrelated to this change.