diff options
| -rw-r--r-- | runtime/hprof/hprof.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/hprof/hprof.cc b/runtime/hprof/hprof.cc index 0fde38072b..233675980d 100644 --- a/runtime/hprof/hprof.cc +++ b/runtime/hprof/hprof.cc @@ -1167,8 +1167,8 @@ void Hprof::DumpHeapObject(mirror::Object* obj) { } void Hprof::DumpHeapClass(mirror::Class* klass) { - if (!klass->IsLoaded() && !klass->IsErroneous()) { - // Class is allocated but not yet loaded: we cannot access its fields or super class. + if (!klass->IsResolved() && !klass->IsErroneous()) { + // Class is allocated but not yet resolved: we cannot access its fields or super class. return; } const size_t num_static_fields = klass->NumStaticFields(); |