Is there a way to improve multicore / multiprocessor performance of the Java compiler?

后端 未结 1 396
执笔经年
执笔经年 2021-01-03 21:24

My coworker noticed that when javac is compiling it only utilizes a single core. Is there anything like the -j command with the gcc for Java that will allow us to distribute

相关标签:
1条回答
  • 2021-01-03 21:28

    Although not exactly an answer to your question, some build environments like ant also support parallelization of builds, so if your dependency graph permits you can have multiple javac's running at the same time.

    0 讨论(0)
提交回复
热议问题