comparison src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp @ 14309:63a4eb8bcd23

8025856: Fix typos in the GC code Summary: Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author jwilhelm
date Thu, 23 Jan 2014 14:47:23 +0100
parents a837fa3d3f86
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14308:870aedf4ba4f 14309:63a4eb8bcd23
63 bool has_unmarked_oop() { 63 bool has_unmarked_oop() {
64 return _unmarked_addr != NULL; 64 return _unmarked_addr != NULL;
65 } 65 }
66 }; 66 };
67 67
68 // Checks all objects for the existance of some type of mark, 68 // Checks all objects for the existence of some type of mark,
69 // precise or imprecise, dirty or newgen. 69 // precise or imprecise, dirty or newgen.
70 class CheckForUnmarkedObjects : public ObjectClosure { 70 class CheckForUnmarkedObjects : public ObjectClosure {
71 private: 71 private:
72 PSYoungGen* _young_gen; 72 PSYoungGen* _young_gen;
73 CardTableExtension* _card_table; 73 CardTableExtension* _card_table;
82 // No point in asserting barrier set type here. Need to make CardTableExtension 82 // No point in asserting barrier set type here. Need to make CardTableExtension
83 // a unique barrier set type. 83 // a unique barrier set type.
84 } 84 }
85 85
86 // Card marks are not precise. The current system can leave us with 86 // Card marks are not precise. The current system can leave us with
87 // a mismash of precise marks and beginning of object marks. This means 87 // a mismatch of precise marks and beginning of object marks. This means
88 // we test for missing precise marks first. If any are found, we don't 88 // we test for missing precise marks first. If any are found, we don't
89 // fail unless the object head is also unmarked. 89 // fail unless the object head is also unmarked.
90 virtual void do_object(oop obj) { 90 virtual void do_object(oop obj) {
91 CheckForUnmarkedOops object_check(_young_gen, _card_table); 91 CheckForUnmarkedOops object_check(_young_gen, _card_table);
92 obj->oop_iterate_no_header(&object_check); 92 obj->oop_iterate_no_header(&object_check);