< prev index next >

src/share/vm/code/debugInfo.hpp

Print this page
rev 8500 : 8087183: Fix call to inline function is_oop in header debugInfo.hpp.

*** 264,278 **** _code = code; _obj_pool = obj_pool; } ; ! oop read_oop() { ! oop o = code()->oop_at(read_int()); ! assert(o == NULL || o->is_oop(), "oop only"); ! return o; ! } Method* read_method() { Method* o = (Method*)(code()->metadata_at(read_int())); // is_metadata() is a faster check than is_metaspace_object() assert(o == NULL || o->is_metadata(), "meta data only"); return o; --- 264,274 ---- _code = code; _obj_pool = obj_pool; } ; ! oop read_oop(); Method* read_method() { Method* o = (Method*)(code()->metadata_at(read_int())); // is_metadata() is a faster check than is_metaspace_object() assert(o == NULL || o->is_metadata(), "meta data only"); return o;
< prev index next >