20110810

文武之道,一张一弛

 

java se6 性能改进

 

偏向锁

锁粗化

自适应旋转

 

 

Detecting Contention

• IDEs, Profilers or 3rd party tools

• Mpstat on Solaris – vctx rate

• If suspected, sample process with pstack

> Look near top of stack for threads blocked in

monitorenter operations

• JVMStat (jstat) counters

> jstat -J-Djstat.showUnsupported=true -snap <pid> | grep _sync_

 

 

其他

TLB  Translation-Lookaside Buffer 虚拟地址到物理地址的转换表

Amdahl’s law (阿姆达尔定律) is a model for the relationship between the expected speedup of parallelized implementations of an algorithm relative to the serial algorithm, under the assumption that the problem size remains the same when parallelized

 

 

你可能感兴趣的:(20110810)