--- a/hotspot/src/share/vm/oops/klass.cpp Thu Mar 07 14:06:44 2013 -0500
+++ b/hotspot/src/share/vm/oops/klass.cpp Fri Mar 08 11:47:57 2013 -0500
@@ -146,16 +146,16 @@
Klass::Klass() {
Klass* k = this;
- { // Preinitialize supertype information.
- // A later call to initialize_supers() may update these settings:
- set_super(NULL);
- for (juint i = 0; i < Klass::primary_super_limit(); i++) {
- _primary_supers[i] = NULL;
- }
- set_secondary_supers(NULL);
- _primary_supers[0] = k;
- set_super_check_offset(in_bytes(primary_supers_offset()));
+ // Preinitialize supertype information.
+ // A later call to initialize_supers() may update these settings:
+ set_super(NULL);
+ for (juint i = 0; i < Klass::primary_super_limit(); i++) {
+ _primary_supers[i] = NULL;
}
+ set_secondary_supers(NULL);
+ set_secondary_super_cache(NULL);
+ _primary_supers[0] = k;
+ set_super_check_offset(in_bytes(primary_supers_offset()));
set_java_mirror(NULL);
set_modifier_flags(0);