Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/space.cpp @ 344:6aae2f9d0294
Merge
author | ysr |
---|---|
date | Thu, 12 Jun 2008 13:50:55 -0700 |
parents | 37f87013dfd8 feeb96a45707 |
children | 60fb9c4db4e6 |
comparison
equal
deleted
inserted
replaced
342:37f87013dfd8 | 344:6aae2f9d0294 |
---|---|
842 } else { | 842 } else { |
843 assert((int) size == instanceOopDesc::header_size(), | 843 assert((int) size == instanceOopDesc::header_size(), |
844 "size for smallest fake object doesn't match"); | 844 "size for smallest fake object doesn't match"); |
845 instanceOop obj = (instanceOop) allocate(size); | 845 instanceOop obj = (instanceOop) allocate(size); |
846 obj->set_mark(markOopDesc::prototype()); | 846 obj->set_mark(markOopDesc::prototype()); |
847 obj->set_klass_gap(0); | |
847 obj->set_klass(SystemDictionary::object_klass()); | 848 obj->set_klass(SystemDictionary::object_klass()); |
848 } | 849 } |
849 } | 850 } |
850 | 851 |
851 void EdenSpace::clear() { | 852 void EdenSpace::clear() { |