eclipse.exe 是否作为 JVM 进程运行?日食是如何开始的?
如您所知,在使用 eclipse 的过程中,我们可以尝试更改 eclipse.ini 中的 VM 参数,例如
-Xmx1024m
,如果我们只是使用这些参数从命令行执行 Java,那么很容易理解这一点。 然而,在我们启动 eclipse 的过程中,我们调用了“eclipse.exe”,对吗?而且 eclipse 还可以允许我们在运行时更改 JDK。
所以在我看来,eclipse 将作为父进程启动,然后它将启动 JVM 子子进程处理 Java 的东西。 但我对此不确定,因为我无法反编译 eclipse.exe。如果您熟悉启动过程,请帮助清除这一点。感谢您的评论。
As you know, during using eclipse, we can try to chang the VM arguments in eclipse.ini, like
-Xmx1024m
it's easy to understand this if we just execute Java from command line with such arguments.
However during we started eclipse, we invoke “eclipse.exe",right ? Also eclipse can allow us to change the JDK during runtime.
so in my opinion, the eclipse will start as the parent process, then it will start JVM subchild process to handle Java stuff.
But I am not sure about this, as I can't decompile the eclipse.exe. If you are familiar with the start process, then please help to clear about this. Appreciated for your comments.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Eclipse 对该可执行文件使用的术语是“Launcher”。您可能会在这个问题的答案中找到一些有用的信息:
Why does Eclipse use a本机启动器?
The term Eclipse uses for this executable is "Launcher". You may find some useful information in the answer to this question:
Why does Eclipse use a native launcher?
是的,
eclipse.exe
是一个小型包装程序,它启动自己的 JVM,然后用于运行 Eclipse 的其余部分。它所做的只不过是查找 JVM、设置一些路径和类加载器并传递其参数。Yes,
eclipse.exe
is a small wrapper program that starts its own JVM, which is then used to run the rest of Eclipse. It does little more than find a JVM, set up a few paths and class loaders, and pass its arguments along.