Gengchen Tuo
Gengchen Tuo
突然就不行了,前几天还好好的
Added virtual thread to !threads in #15679 sample output: ``` !continuationstack 0x00007fe3582424e0 !j9vmcontinuation 0x00007fe3582424e0 !j9object 0x000000070637E4A8 (Continuation) !j9object 0x000000070637DED0 (VThread) - duke ``` for multi virtualthread core file: ``` !continuationstack...
Is it possible to rewrite `StackWalker.walkStackFrames()` so it will only use the arguments instead of reading from `walkState.walkThread`?
I think `privateFlags` could be `UDATA` to better work with existing code?
@keithc-ca We are planning to add two more overloads for `walkStackFrame`, one for `J9VMThreadPointer` - `walkStackFrame(WalkState walkState, J9VMThreadPointer walkThread)`, and one for `J9VMContinuationPointer` - `walkStackFrame(WalkState walkState, long address)`(since `J9VMContinuationPointer` is...
Actually there are two existing versions: ```java public StackWalkResult walkStackFrames(WalkState walkState) public StackWalkResult walkStackFrames(WalkState walkState, UDATAPointer sp, UDATAPointer arg0ea, U8Pointer pc, J9MethodPointer literals, J9VMEntryLocalStoragePointer entryLocalStorage) ``` and the first one...
Sample output for `continuationstack` command: ``` > !continuationstack 0x00007fe78c0f9600 !j9method 0x000000000006F218 jdk/internal/vm/Continuation.yieldImpl(Z)Z !j9method 0x000000000006F098 jdk/internal/vm/Continuation.yield(Ljdk/internal/vm/ContinuationScope;)Z !j9method 0x00000000001EA350 java/lang/VirtualThread.yieldContinuation()Z !j9method 0x00000000001EA430 java/lang/VirtualThread.parkNanos(J)V !j9method 0x00000000001EA510 java/lang/VirtualThread.doSleepNanos(J)V !j9method 0x00000000001EA4F0 java/lang/VirtualThread.sleepNanos(J)V !j9method 0x0000000000049788 java/lang/Thread.sleep(Ljava/time/Duration;)V...
@fengxue-IS ready to be reviewed
I might somehow messed up with the branch and I'm trying to get it fixed.
> FYI [379aa5a](https://github.com/eclipse-openj9/openj9/commit/379aa5af7ee467af7cafb1abed9aa3e1fd3e041d) seem to be the snapshot before incorrect merge yeah I pushed the master branch in my java 19 repo without realizing it's not in sync with my...