Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp @ 11975:ca9dedeebdec
6412968: CMS Long initial mark pauses
Reviewed-by: rasbold, tschatzl, jmasa
Contributed-by: yamauchi@google.com
author | jmasa |
---|---|
date | Thu, 25 Jul 2013 11:07:23 -0700 |
parents | da91efe96a93 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
11974:fb7010c7c011 | 11975:ca9dedeebdec |
---|---|
120 Prefetch::style prefetch_style() { | 120 Prefetch::style prefetch_style() { |
121 return Prefetch::do_read; | 121 return Prefetch::do_read; |
122 } | 122 } |
123 }; | 123 }; |
124 | 124 |
125 class Par_MarkRefsIntoClosure: public CMSOopsInGenClosure { | |
126 private: | |
127 const MemRegion _span; | |
128 CMSBitMap* _bitMap; | |
129 protected: | |
130 DO_OOP_WORK_DEFN | |
131 public: | |
132 Par_MarkRefsIntoClosure(MemRegion span, CMSBitMap* bitMap); | |
133 virtual void do_oop(oop* p); | |
134 virtual void do_oop(narrowOop* p); | |
135 | |
136 Prefetch::style prefetch_style() { | |
137 return Prefetch::do_read; | |
138 } | |
139 }; | |
140 | |
125 // A variant of the above used in certain kinds of CMS | 141 // A variant of the above used in certain kinds of CMS |
126 // marking verification. | 142 // marking verification. |
127 class MarkRefsIntoVerifyClosure: public CMSOopsInGenClosure { | 143 class MarkRefsIntoVerifyClosure: public CMSOopsInGenClosure { |
128 private: | 144 private: |
129 const MemRegion _span; | 145 const MemRegion _span; |