src/hotspot/share/runtime/fieldDescriptor.cpp
changeset 58273 08a5148e7c4e
parent 54807 33fe50b6d707
child 59056 15936b142f86
--- a/src/hotspot/share/runtime/fieldDescriptor.cpp	Mon Sep 23 14:39:11 2019 -0400
+++ b/src/hotspot/share/runtime/fieldDescriptor.cpp	Mon Sep 23 14:49:04 2019 -0400
@@ -212,7 +212,7 @@
   // Print a hint as to the underlying integer representation. This can be wrong for
   // pointers on an LP64 machine
 #ifdef _LP64
-  if ((ft == T_OBJECT || ft == T_ARRAY) && UseCompressedOops) {
+  if (is_reference_type(ft) && UseCompressedOops) {
     st->print(" (%x)", obj->int_field(offset()));
   }
   else // <- intended