< prev index next >

src/hotspot/share/oops/constantPool.cpp

Print this page

        

@@ -2488,13 +2488,13 @@
   assert(is_constantPool(), "must be constantPool");
   st->print("constant pool [%d]", length());
   if (has_preresolution()) st->print("/preresolution");
   if (operands() != NULL)  st->print("/operands[%d]", operands()->length());
   print_address_on(st);
+  if (pool_holder() != NULL) {
   st->print(" for ");
   pool_holder()->print_value_on(st);
-  if (pool_holder() != NULL) {
     bool extra = (pool_holder()->constants() != this);
     if (extra)  st->print(" (extra)");
   }
   if (cache() != NULL) {
     st->print(" cache=" PTR_FORMAT, p2i(cache()));
< prev index next >