9

IcedTea 6 的性能如何与 Sun 在 Linux 系统上的 HotSpot 相媲美?我尝试搜索谷歌,但 Phoronix 的测试是我得到的最好的,现在已经快一年了。希望从那时起情况有所改善。

此外,一旦 Sun 完全开源 JVM,是否有可能在 Linux 平台上实现它,以便主模块(消费者 JRE 中的 Quickstarter)随操作系统启动并加载最小的 Java 内核,而不管运行的任何 Java 应用程序如何. 然后根据需要逐步加载其他模块。可能会改善启动时间。

4

1 回答 1

3

so it will be within the answer: http://www.phoronix.com/scan.php?page=article&item=java_vm_performance&num=1 and http://www.phoronix.com/scan.php?page=article&item=os_threeway_2008&num=1

I'd expect SUN's stuff to be faster, but it really depends on all kinds of optimizations, so one version might be faster doing operation X, but in the next version it might not be as fast..


EDIT: regarding kernel preloading: on linux you may use preload or alternatives to speed up app loading, without affecting the overall system performance (loading a Quickstarter equivalent will keep memory occupied at all times). Also, as far as i know, java loads lots of shared libraries, that are shared between apps, so i don't really see the point of building in-kernel support for this thing. I guess its easy to make a simple app that loads some libraries and does nothing after that(quickstarter), but i dont see this doing a big difference when loading apps, and in some cases it might even slow down the system(i'm thinking about ram usage, and memory swapping)

于 2010-11-22T11:46:34.933 回答