diff -r 37f87013dfd8 -r 6aae2f9d0294 src/share/vm/memory/space.cpp --- a/src/share/vm/memory/space.cpp Thu Jun 05 15:57:56 2008 -0700 +++ b/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()); } }