Re: RFR: 8332738: Debug agent can deadlock on callbackLock when using StackFrame.PopFrames

2024-07-29 Thread Chris Plummer
On Mon, 22 Jul 2024 20:32:35 GMT, Chris Plummer wrote: > Fix deadlock with debug agent callbackLock. Details in first comment. > > Tested by running all jdi, jdwp, and jdb tests with and without virtual > threads about 40 times. The testing was initially done with my hack to force > the self s

Re: RFR: 8332738: Debug agent can deadlock on callbackLock when using StackFrame.PopFrames

2024-07-26 Thread Alex Menkov
On Mon, 22 Jul 2024 20:32:35 GMT, Chris Plummer wrote: > Fix deadlock with debug agent callbackLock. Details in first comment. > > Tested by running all jdi, jdwp, and jdb tests with and without virtual > threads about 40 times. The testing was initially done with my hack to force > the self s

Re: RFR: 8332738: Debug agent can deadlock on callbackLock when using StackFrame.PopFrames

2024-07-26 Thread Serguei Spitsyn
On Mon, 22 Jul 2024 20:32:35 GMT, Chris Plummer wrote: > Fix deadlock with debug agent callbackLock. Details in first comment. > > Tested by running all jdi, jdwp, and jdb tests with and without virtual > threads about 40 times. The testing was initially done with my hack to force > the self s

Re: RFR: 8332738: Debug agent can deadlock on callbackLock when using StackFrame.PopFrames

2024-07-22 Thread Chris Plummer
On Mon, 22 Jul 2024 20:32:35 GMT, Chris Plummer wrote: > Fix deadlock with debug agent callbackLock. Details in first comment. > > Tested by running all jdi, jdwp, and jdb tests with and without virtual > threads about 40 times. The testing was initially done with my hack to force > the self s

RFR: 8332738: Debug agent can deadlock on callbackLock when using StackFrame.PopFrames

2024-07-22 Thread Chris Plummer
Fix deadlock with debug agent callbackLock. Details in first comment. Tested by running all jdi, jdwp, and jdb tests with and without virtual threads about 40 times. The testing was initially done with my hack to force the self suspend (see the first comment in the CR), and then I did final test