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. |