mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-24 21:34:52 +02:00
8005079: fix LogCompilation for incremental inlining
Report late inlining as part of the rest of the inlining output Reviewed-by: twisti, kvn
This commit is contained in:
parent
65d6e6b331
commit
522abfc113
16 changed files with 273 additions and 43 deletions
|
@ -106,7 +106,7 @@ int CompileLog::identify(ciBaseObject* obj) {
|
|||
if (mobj->is_klass()) {
|
||||
ciKlass* klass = mobj->as_klass();
|
||||
begin_elem("klass id='%d'", id);
|
||||
name(klass->name());
|
||||
name(klass);
|
||||
if (!klass->is_loaded()) {
|
||||
print(" unloaded='1'");
|
||||
} else {
|
||||
|
@ -171,6 +171,15 @@ void CompileLog::name(ciSymbol* name) {
|
|||
print("'");
|
||||
}
|
||||
|
||||
void CompileLog::name(ciKlass* k) {
|
||||
print(" name='");
|
||||
if (!k->is_loaded()) {
|
||||
text()->print(k->name()->as_klass_external_name());
|
||||
} else {
|
||||
text()->print(k->external_name());
|
||||
}
|
||||
print("'");
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// CompileLog::clear_identities
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue