Relates :
|
Escape analysis was recently added to Compiler2. However there are currently no optimizations which take advantage of it. Adding an optimization to eliminate locking and unlocking of unescaped objects is an easy, safe optimization to take advantage of escape analysis.
|