Request for review (S): C2 should recognize "obj.getClass() == A.class" code pattern
rednaxelafx at gmail.com
Sun May 6 19:08:29 PDT 2012
Updated the patch again, posted at:
Could I get some reviews for this new version, please? And, would anyone
sponsor this patch, pleae?
Per John's suggestion, in Parse::adjust_map_after_if(), I've factored the
logic from "int val_in_map" downward into a new
subroutine sharpen_type_after_if(), which handles comparison with constant
klass as well as the old cases. I tried a few times but I just can't find a
Tested SPECjvm2008 with default arguments on a jvmg build, and it ran okay.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev