Java performance tips

前端 未结 14 1764
傲寒
傲寒 2021-02-01 20:04

I have a program I ported from C to Java. Both apps use quicksort to order some partitioned data (genomic coordinates).

The Java version runs fast, but I\'d like to get

14条回答
  •  不要未来只要你来
    2021-02-01 20:50

    Also try tweaking the runtime arguments of the VM - the latest release of the VM for example includes the following flag which can improve performance in certain scenarios.

    -XX:+DoEscapeAnalysis 
    

提交回复
热议问题