hg: hsx/hotspot-comp/hotspot: 7170463: C2 should recognize "obj.getClass() == A.class" code pattern
vladimir.kozlov at oracle.com
vladimir.kozlov at oracle.com
Fri May 25 11:05:47 PDT 2012
Changeset: 8f6ce6f1049b
Author: kvn
Date: 2012-05-25 07:53 -0700
URL: http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/8f6ce6f1049b
7170463: C2 should recognize "obj.getClass() == A.class" code pattern
Summary: optimize this code pattern obj.getClass() == A.class.
Reviewed-by: jrose, kvn
Contributed-by: Krystal Mok <sajia at taobao.com>
! src/share/vm/opto/parse.hpp
! src/share/vm/opto/parse2.cpp
! src/share/vm/opto/subnode.cpp
More information about the hotspot-compiler-dev
mailing list