hotspot/src/share/vm/memory/space.cpp
changeset 1376 f7fc7a708b63
parent 1374 4c24294029a9
parent 593 803947e176bd
child 1379 ccfaefa561cd
--- a/hotspot/src/share/vm/memory/space.cpp	Thu Jun 05 15:57:56 2008 -0700
+++ b/hotspot/src/share/vm/memory/space.cpp	Thu Jun 12 13:50:55 2008 -0700
@@ -844,6 +844,7 @@
            "size for smallest fake object doesn't match");
     instanceOop obj = (instanceOop) allocate(size);
     obj->set_mark(markOopDesc::prototype());
+    obj->set_klass_gap(0);
     obj->set_klass(SystemDictionary::object_klass());
   }
 }