Mercurial > hg > truffle
comparison src/share/vm/memory/space.cpp @ 1339:09ac706c2623
Merge
author | asaha |
---|---|
date | Wed, 24 Mar 2010 17:16:33 -0700 |
parents | 4ce7240d622c |
children | c18cbe5936b8 2d127394260e |
comparison
equal
deleted
inserted
replaced
1338:f5dd08ad65df | 1339:09ac706c2623 |
---|---|
874 assert((int) size == instanceOopDesc::header_size(), | 874 assert((int) size == instanceOopDesc::header_size(), |
875 "size for smallest fake object doesn't match"); | 875 "size for smallest fake object doesn't match"); |
876 instanceOop obj = (instanceOop) allocate(size); | 876 instanceOop obj = (instanceOop) allocate(size); |
877 obj->set_mark(markOopDesc::prototype()); | 877 obj->set_mark(markOopDesc::prototype()); |
878 obj->set_klass_gap(0); | 878 obj->set_klass_gap(0); |
879 obj->set_klass(SystemDictionary::object_klass()); | 879 obj->set_klass(SystemDictionary::Object_klass()); |
880 } | 880 } |
881 } | 881 } |
882 | 882 |
883 void EdenSpace::clear(bool mangle_space) { | 883 void EdenSpace::clear(bool mangle_space) { |
884 ContiguousSpace::clear(mangle_space); | 884 ContiguousSpace::clear(mangle_space); |