Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/shared/markSweep.inline.hpp @ 374:a4b729f5b611
6716466: par compact - remove VerifyParallelOldWithMarkSweep code
Reviewed-by: jmasa
author | jcoomes |
---|---|
date | Tue, 30 Sep 2008 11:49:31 -0700 |
parents | d1605aabd0a1 |
children | 2a1472c30599 |
comparison
equal
deleted
inserted
replaced
373:06df86c2ec37 | 374:a4b729f5b611 |
---|---|
21 * have any questions. | 21 * have any questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 inline void MarkSweep::mark_object(oop obj) { | 25 inline void MarkSweep::mark_object(oop obj) { |
26 #ifndef SERIALGC | |
27 if (UseParallelOldGC && VerifyParallelOldWithMarkSweep) { | |
28 assert(PSParallelCompact::mark_bitmap()->is_marked(obj), | |
29 "Should be marked in the marking bitmap"); | |
30 } | |
31 #endif // SERIALGC | |
32 | |
33 // some marks may contain information we need to preserve so we store them away | 26 // some marks may contain information we need to preserve so we store them away |
34 // and overwrite the mark. We'll restore it at the end of markSweep. | 27 // and overwrite the mark. We'll restore it at the end of markSweep. |
35 markOop mark = obj->mark(); | 28 markOop mark = obj->mark(); |
36 obj->set_mark(markOopDesc::prototype()->set_marked()); | 29 obj->set_mark(markOopDesc::prototype()->set_marked()); |
37 | 30 |