Scalar replacable object pointers won't be equal to anything else
Edward Lee
edilee at gmail.com
Tue Dec 9 21:57:52 PST 2008
On Tue, Dec 9, 2008 at 5:30 PM, Vladimir Kozlov <Vladimir.Kozlov at sun.com> wrote:
> Could you try the next change in detect_ptr_independence()?:
I had to add the phase to subnode's virtual sub() declaration because
CmpPNode::sub passes NULL to things expecting a phase. I've attached
what is working for me, and it makes one allocation scalar replacable.
Additionally, with the "do escape analysis after an initial
IterGVN.optimize pass," it's able to scalar replace another similar
situation.
Ed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elim.cmpp.diff
Type: application/octet-stream
Size: 14523 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20081209/306e15a7/attachment.obj
More information about the hotspot-dev
mailing list