--- a/src/hotspot/share/services/classLoadingService.cpp Tue May 22 09:01:44 2018 -0700
+++ b/src/hotspot/share/services/classLoadingService.cpp Tue May 22 13:10:56 2018 -0400
@@ -172,7 +172,9 @@
// FIXME: Need to count the contents of methods
class_size += k->constants()->size();
class_size += k->local_interfaces()->size();
- class_size += k->transitive_interfaces()->size();
+ if (k->transitive_interfaces() != NULL) {
+ class_size += k->transitive_interfaces()->size();
+ }
// We do not have to count implementors, since we only store one!
// FIXME: How should these be accounted for, now when they have moved.
//class_size += k->fields()->size();