Current Escape Analysis code has several problems which have to be fixed. Generate Connection Graph after Parse phase and after the ideal graph is cleaned (dead parts are removed from the graph). Add checks of additional ideal nodes which could affect escape state of objects. Put on igvn worklist nodes which look for or used with escape information (Lock, Unlock, Allocation, AddP). Improve code for split unique type.
|