On Wed, 31 May 2023 15:27:51 GMT, Gerard Ziemski <gziem...@openjdk.org> wrote:

> You have chosen to use an OS independent mechanism, at the cost of exposing 
> the implementation to the outside world, by introducing a new stage (needs 
> CSR).

That is not an accurate characterisation of this change. The CSR request is 
needed because of the change in behaviour it introduces (by only returning a 
fully initialized VM), and has nothing at all to do with the implementation. We 
still need to be able to distinguish when VM creation has started (to prevent 
concurrent attempt) and when it has completed (so GetCreatedJavaVMs can return  
a valid VM) - the mechanism by which that is achieved is immaterial.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14139#issuecomment-1571075022

Reply via email to