What JVM features can reduce the running time of Java applications?
I have heard that the JIT compiler and inline functions are some implementations to reduce the running time of Java applications.
Are there any other ways t开发者_JAVA技巧o use the JVM to reduce the running time of Java applications?
The Wikipedia page for Java Performance has a lot of content on it about how the JVM works and is optimized. There are many linked pages there too, for more information.
The JIT has many ways to optimize your code. There is a page about it on the Oracle website. There are plently of other articles about Java optimizations, just search the web.
There is also a list of JVM options you can change to tweak the performance of the JVM here
精彩评论