equal
deleted
inserted
replaced
186 "Should be either the T_VOID primitive or a java primitive"); |
186 "Should be either the T_VOID primitive or a java primitive"); |
187 } |
187 } |
188 #endif |
188 #endif |
189 |
189 |
190 return is_primitive; |
190 return is_primitive; |
|
191 } |
|
192 |
|
193 inline int java_lang_Class::oop_size_raw(oop java_class) { |
|
194 assert(_oop_size_offset != 0, "must be set"); |
|
195 int size = java_class->int_field_raw(_oop_size_offset); |
|
196 assert(size > 0, "Oop size must be greater than zero, not %d", size); |
|
197 return size; |
191 } |
198 } |
192 |
199 |
193 inline bool java_lang_invoke_DirectMethodHandle::is_instance(oop obj) { |
200 inline bool java_lang_invoke_DirectMethodHandle::is_instance(oop obj) { |
194 return obj != NULL && is_subclass(obj->klass()); |
201 return obj != NULL && is_subclass(obj->klass()); |
195 } |
202 } |