Re: JDWP features hidden under JDI

2021-11-24 Thread Anton W. Haubner
Hi David, Chris and Serguei, thank you all for your quick answers and recommendations! Chris: Maybe this is just a terminology issue, but I'm not sure what you mean by "lookup" > Chris: It sounds like you want to cache or store ObjectIDs instead of ObjectReferences, but later want to map the

Re: JDWP features hidden under JDI

2021-11-23 Thread Serguei Spitsyn
Hi Anton, Thank you for the questions. I don’t know the history well enough, so will try to guess a little bit. Please, see my attempts to answer your questions inlined below. From: serviceability-dev on behalf of "Anton W. Haubner" Date: Tuesday, November 23, 2021 at 1:25 AM To: Cc: Eduard

Re: JDWP features hidden under JDI

2021-11-23 Thread Chris Plummer
Hi Anton, Looking at the JDWP specification, it seems that the underlying JDWP protocol does support looking up objects using just their id: Maybe this is just a terminology issue, but I'm not sure what you mean by "lookup". JDWP doesn't lookup ObjectIDs. It returns them any place where there

Re: JDWP features hidden under JDI

2021-11-23 Thread David Holmes
Hi Anton, There may be someone who recalls this detail of ancient history but it is ancient. :) As a low-level protocol JDWP exposes a lot of things. But then the higher-level API's, like the original JVM DI, and its replacement JVM TI, provide a different level of abstraction and need not ex