Java HotSpot DoEscapeAnalysis parameter

Montreal

Posted On
16-Apr-2013 9:48
Views
340
About this Item
The -XX:+DoEscapeAnalysis option directs HotSpot to look for objects that are created and referenced by a single thread within the scope of a method compilation. Allocation is omitted for such non-escaping objects, and their fields are treated as local variables, often residing in machine registers. Synchronization on non-escaping objects is also elided.

With this version of java -XX:+DoEscapeAnalysis results in far less gc activity and 14x faster execution.
Contact Advertiser
Verification code
Protected by ML Security