(How) does the Java JIT compiler optimize my code?

前端 未结 4 1587
自闭症患者
自闭症患者 2020-12-29 07:48

I\'m writing fairly low level code that must be highly optimized for speed. Every CPU cycle counts. Since the code is in Java I can\'t write as low level as in C for example

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-29 08:10

    How do you test the performance?

    Here is a good article:

    http://www.ibm.com/developerworks/java/library/j-benchmark1/index.html

    http://www.ibm.com/developerworks/java/library/j-benchmark2/index.html

    http://ellipticgroup.com/html/benchmarkingArticle.html

提交回复
热议问题