![](/img/trans.png)
[英]JVM Crashing frequently with SIGSEGV Java Fatal Error in libjvm.so
[英]Difference between 'java' and 'libjvm.so' (Linux) or 'jvm.dll' (Windows)?
What are the differences in starting an application through the plain java command, against directly invoking the JVM through libjvm.so in Linux or jvm.dll in Windows?
最近我在一個論壇上看到,使用 dll or.so 文件啟動 eclipse 會提供更好的性能。 我想知道這是怎么發生的。
謝謝。
Typically folks build against jvm.dll if they want to wrap their own functionality around a Java core, where sometimes it's hard to do things that look "native" from Java. 一個很好的例子確實是 Eclipse,他們想在啟動前彈出一個啟動屏幕並執行一些其他操作。 對於其他產品,Java 只是他們工作量的一小部分(例如:大型 C++ 應用程序需要在某個時候橋接到 Java)。
從性能的角度來看,這無關緊要。 這完全取決於您希望 Eclipse 之類的“適合和完成”的方式。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.