mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8210754: print_location is not reliable enough (printing register info)
Reviewed-by: stuefe, coleenp
This commit is contained in:
parent
dcfb9a75aa
commit
4af2374271
16 changed files with 298 additions and 83 deletions
|
@ -334,6 +334,13 @@ class oopDesc {
|
|||
assert(has_klass_gap(), "only applicable to compressed klass pointers");
|
||||
return klass_offset_in_bytes() + sizeof(narrowKlass);
|
||||
}
|
||||
|
||||
// for error reporting
|
||||
static oop decode_oop_raw(narrowOop narrow_oop);
|
||||
static void* load_klass_raw(oop obj);
|
||||
static void* load_oop_raw(oop obj, int offset);
|
||||
static bool is_valid(oop obj);
|
||||
static oop oop_or_null(address addr);
|
||||
};
|
||||
|
||||
#endif // SHARE_VM_OOPS_OOP_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue