hotspot/src/share/vm/memory/space.cpp
changeset 593 803947e176bd
parent 360 21d113ecbf6a
child 971 f0b20be4165d
child 670 ddf3e9583f2f
child 1376 f7fc7a708b63
--- a/hotspot/src/share/vm/memory/space.cpp	Wed May 28 12:42:34 2008 -0700
+++ b/hotspot/src/share/vm/memory/space.cpp	Wed May 28 21:06:24 2008 -0700
@@ -815,6 +815,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());
   }
 }