Intelligent prediction of critical sections is implemented using a method
comprising updating a critical section estimator based on historical
analysis of atomic/store instruction pairs during runtime and performing
lock elision when the critical section estimator indicates that the
atomic/store instruction pairs define a critical section.