mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
6603316: Improve instrumentation for classes loaded at startup
Reviewed-by: xlu, mchung
This commit is contained in:
parent
472349069b
commit
101468324d
4 changed files with 37 additions and 9 deletions
|
@ -3230,7 +3230,7 @@ instanceKlassHandle ClassFileParser::parseClassFile(symbolHandle name,
|
|||
// print out the superclass.
|
||||
const char * from = Klass::cast(this_klass())->external_name();
|
||||
if (this_klass->java_super() != NULL) {
|
||||
tty->print("RESOLVE %s %s\n", from, instanceKlass::cast(this_klass->java_super())->external_name());
|
||||
tty->print("RESOLVE %s %s (super)\n", from, instanceKlass::cast(this_klass->java_super())->external_name());
|
||||
}
|
||||
// print out each of the interface classes referred to by this class.
|
||||
objArrayHandle local_interfaces(THREAD, this_klass->local_interfaces());
|
||||
|
@ -3240,7 +3240,7 @@ instanceKlassHandle ClassFileParser::parseClassFile(symbolHandle name,
|
|||
klassOop k = klassOop(local_interfaces->obj_at(i));
|
||||
instanceKlass* to_class = instanceKlass::cast(k);
|
||||
const char * to = to_class->external_name();
|
||||
tty->print("RESOLVE %s %s\n", from, to);
|
||||
tty->print("RESOLVE %s %s (interface)\n", from, to);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue