On Tue, 18 Oct 2022 02:23:12 GMT, David Holmes <dhol...@openjdk.org> wrote:
> The agent will be racing against VM termination and will need to be > resilient to potentially getting "wrong phase" errors, or similar. I'm not sure what you mean. There is always this kind of race but this fix does not make it worse. The JDWP agent does all needed to be resistant to the WRONG_PHASE errors. If you talk about all other JVM TI agents then it is a common problem which does not have a solution yet. It means, all JVM TI agents should check for the WRONG_PHASE errors and process them as needed. ------------- PR: https://git.openjdk.org/jdk/pull/10736