mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-11 14:11:36 +00:00
8227086: Use AS_NO_KEEPALIVE loads in HeapDumper
Reviewed-by: kbarrett, sspitsyn
This commit is contained in:
parent
ebf98ac78c
commit
605b3f051b
@ -760,7 +760,7 @@ void DumperSupport::dump_field_value(DumpWriter* writer, char type, oop obj, int
|
||||
switch (type) {
|
||||
case JVM_SIGNATURE_CLASS :
|
||||
case JVM_SIGNATURE_ARRAY : {
|
||||
oop o = obj->obj_field_access<ON_UNKNOWN_OOP_REF>(offset);
|
||||
oop o = obj->obj_field_access<ON_UNKNOWN_OOP_REF | AS_NO_KEEPALIVE>(offset);
|
||||
assert(oopDesc::is_oop_or_null(o), "Expected an oop or NULL at " PTR_FORMAT, p2i(o));
|
||||
writer->write_objectID(o);
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user