RFR: 8259070: Add jcmd option to dump CDS
Ioi Lam
iklam at openjdk.java.net
Sat Feb 27 18:23:39 UTC 2021
On Sat, 27 Feb 2021 05:48:04 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> I really would consider rewriting the whole thing using posix_spawn. Since JDK15 I think posix_spawn is the default for Runtime.exec, so we know it works well. I would also do this in a separate RFE.
>
> Alternatively, you could call into java and use Runtime.exec().
I think we should call into Java and use `Runtime.exec()`. Running a subprocess is very complicated, so we shouldn't try to duplicate the code in the VM.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2737
More information about the serviceability-dev
mailing list