src/share/vm/opto/library_call.cpp

changeset 2786
59766fd005ff
parent 2784
92add02409c9
child 2787
5d046bf49ce7
equal deleted inserted replaced
2785:f177ddd59c60 2786:59766fd005ff
2167 #define __ ideal. 2167 #define __ ideal.
2168 2168
2169 const int reference_type_offset = instanceKlass::reference_type_offset_in_bytes() + 2169 const int reference_type_offset = instanceKlass::reference_type_offset_in_bytes() +
2170 sizeof(oopDesc); 2170 sizeof(oopDesc);
2171 2171
2172 Node* referent_off = __ ConI(java_lang_ref_Reference::referent_offset); 2172 Node* referent_off = __ ConX(java_lang_ref_Reference::referent_offset);
2173 2173
2174 __ if_then(offset, BoolTest::eq, referent_off, unlikely); { 2174 __ if_then(offset, BoolTest::eq, referent_off, unlikely); {
2175 __ if_then(base_oop, BoolTest::ne, null(), likely); { 2175 __ if_then(base_oop, BoolTest::ne, null(), likely); {
2176 2176
2177 // Update graphKit memory and control from IdealKit. 2177 // Update graphKit memory and control from IdealKit.

mercurial