equal
deleted
inserted
replaced
385 |
385 |
386 // Restore cache |
386 // Restore cache |
387 cp->set_cache(cache()); |
387 cp->set_cache(cache()); |
388 } |
388 } |
389 |
389 |
390 |
|
391 #endif |
390 #endif |
|
391 |
|
392 void constantPoolKlass::oop_print_value_on(oop obj, outputStream* st) { |
|
393 assert(obj->is_constantPool(), "must be constantPool"); |
|
394 constantPoolOop cp = constantPoolOop(obj); |
|
395 st->print("constant pool [%d]", cp->length()); |
|
396 if (cp->has_pseudo_string()) st->print("/pseudo_string"); |
|
397 if (cp->has_invokedynamic()) st->print("/invokedynamic"); |
|
398 cp->print_address_on(st); |
|
399 st->print(" for "); |
|
400 cp->pool_holder()->print_value_on(st); |
|
401 } |
392 |
402 |
393 const char* constantPoolKlass::internal_name() const { |
403 const char* constantPoolKlass::internal_name() const { |
394 return "{constant pool}"; |
404 return "{constant pool}"; |
395 } |
405 } |
396 |
406 |