阅读背景:

Java是否自动针对多核处理器优化循环

来源:互联网 

A fellow developer told me today that Java (or the JIT) can automatically optimize the execution of a for loop so that it uses all of the available CPUs on the computer, so long as the code in each iteration of the for loop can execute without relying on variables modified in previous iterations of the loop.A fellow developer told me today that Java (or




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: