comparison src/share/vm/oops/cpCacheKlass.cpp @ 1155:4e6abf09f540

6912062: disassembler plugin needs to produce symbolic information in product mode Summary: More informative disassembly in product mode. Also, a more consistent CompileCommand syntax. Reviewed-by: never
author jrose
date Fri, 08 Jan 2010 13:47:01 -0800
parents be93aad57795
children c18cbe5936b8
comparison
equal deleted inserted replaced
1153:bea7a22a6f79 1155:4e6abf09f540
259 for (int i = 0; i < cache->length(); i++) cache->entry_at(i)->print(st, i); 259 for (int i = 0; i < cache->length(); i++) cache->entry_at(i)->print(st, i);
260 } 260 }
261 261
262 #endif 262 #endif
263 263
264 void constantPoolCacheKlass::oop_print_value_on(oop obj, outputStream* st) {
265 assert(obj->is_constantPoolCache(), "obj must be constant pool cache");
266 constantPoolCacheOop cache = (constantPoolCacheOop)obj;
267 st->print("cache [%d]", cache->length());
268 cache->print_address_on(st);
269 st->print(" for ");
270 cache->constant_pool()->print_value_on(st);
271 }
272
264 void constantPoolCacheKlass::oop_verify_on(oop obj, outputStream* st) { 273 void constantPoolCacheKlass::oop_verify_on(oop obj, outputStream* st) {
265 guarantee(obj->is_constantPoolCache(), "obj must be constant pool cache"); 274 guarantee(obj->is_constantPoolCache(), "obj must be constant pool cache");
266 constantPoolCacheOop cache = (constantPoolCacheOop)obj; 275 constantPoolCacheOop cache = (constantPoolCacheOop)obj;
267 // super verify 276 // super verify
268 Klass::oop_verify_on(obj, st); 277 Klass::oop_verify_on(obj, st);