Re: jdwp virtual threads dump?

2023-06-27 Thread Egor Ushakov
wrote: On 27/06/2023 16:58, Egor Ushakov wrote: Hi all, is there a way for a debugger to create a virtual threads dump via jdwp? Right now, the only way to do this via JDWP is use the ObjectReference/InvokeMethod command (or JDI invokeMethod at the API level) to invoke HotSpotDiagnosticMXBea

jdwp virtual threads dump?

2023-06-27 Thread Egor Ushakov
Hi all, is there a way for a debugger to create a virtual threads dump via jdwp? Thanks, Egor

Re: RFR: 8297638: Memory leak in case of many started-dead threads [v2]

2023-01-30 Thread Egor Ushakov
On Thu, 19 Jan 2023 21:59:22 GMT, Chris Plummer wrote: >> Fix JDI leak when the debuggee creates a lot of threads, while at the same >> the debugger is not sending any commands. The lack of commands being sent >> results in code not being triggered that normally would clear out >> unreachable

Re: RFR: 8297638: Memory leak in case of many started-dead threads [v2]

2023-01-23 Thread Egor Ushakov
On Thu, 19 Jan 2023 21:59:22 GMT, Chris Plummer wrote: >> Fix JDI leak when the debuggee creates a lot of threads, while at the same >> the debugger is not sending any commands. The lack of commands being sent >> results in code not being triggered that normally would clear out >> unreachable

Re: [External] : Re: Grouped method entry events

2022-08-10 Thread Egor Ushakov
same location and in the same thread:     Breakpoint Event     Step Event     Method Entry Event     Method Exit Event So there seems to be a debug agent bug that is grouping all the MethodEntry events until a MethodExit is hit. But I don't think this is new. I see the same

Re: [External] : Re: Grouped method entry events

2022-08-08 Thread Egor Ushakov
ion and in the same thread:     Breakpoint Event     Step Event     Method Entry Event     Method Exit Event So there seems to be a debug agent bug that is grouping all the MethodEntry events until a MethodExit is hit. But I don't think this is new. I see the same thing

Re: Grouped method entry events

2022-08-06 Thread Egor Ushakov
same location and in the same thread. So I can see enabling single stepping having an impact on the behavior you are seeing. Chris On 8/5/22 9:59 AM, Egor Ushakov wrote: Hi, we're experiencing strange grouping of method entry/exit events, is this a bug or a feature? We have one meth

Grouped method entry events

2022-08-05 Thread Egor Ushakov
Hi, we're experiencing strange grouping of method entry/exit events, is this a bug or a feature? We have one method entry request active with suspend policy 1 (suspend thread). important: we also have one active step request (step over) In jdk 11 we have one composite event for each event, wh