< 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.
Reviewed-by: kvn, kbarrett, dholmes
*** 1,7 ****
/*
! * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 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 >