Mercurial > hg > truffle
comparison src/share/vm/code/scopeDesc.cpp @ 20044:c1f116cd4b67
Speed up debug info generation for virtual objects
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Fri, 27 Mar 2015 00:41:11 -0700 |
parents | 15ef24874df7 |
children | be896a1983c0 |
comparison
equal
deleted
inserted
replaced
20043:b9041d4e91c5 | 20044:c1f116cd4b67 |
---|---|
230 if (NOT_GRAAL(DoEscapeAnalysis &&) is_top() && _objects != NULL) { | 230 if (NOT_GRAAL(DoEscapeAnalysis &&) is_top() && _objects != NULL) { |
231 tty->print_cr("Objects"); | 231 tty->print_cr("Objects"); |
232 for (int i = 0; i < _objects->length(); i++) { | 232 for (int i = 0; i < _objects->length(); i++) { |
233 ObjectValue* sv = _objects->at(i)->as_ObjectValue(); | 233 ObjectValue* sv = _objects->at(i)->as_ObjectValue(); |
234 tty->print(" - %d: ", sv->id()); | 234 tty->print(" - %d: ", sv->id()); |
235 tty->print("%s ", java_lang_Class::as_Klass(sv->klass()->as_ConstantOopReadValue()->value()())->external_name()); | |
235 sv->print_fields_on(tty); | 236 sv->print_fields_on(tty); |
236 tty->cr(); | 237 tty->cr(); |
237 } | 238 } |
238 } | 239 } |
239 #endif // COMPILER2 || GRAAL | 240 #endif // COMPILER2 || GRAAL |