src/share/vm/gc_implementation/g1/dirtyCardQueue.hpp

changeset 3901
24b9c7f4cae6
parent 3900
d2a62e0f25eb
child 4153
b9a9ed0f8eeb
equal deleted inserted replaced
3898:bcffa4c5eef6 3901:24b9c7f4cae6
30 30
31 class FreeIdSet; 31 class FreeIdSet;
32 32
33 // A closure class for processing card table entries. Note that we don't 33 // A closure class for processing card table entries. Note that we don't
34 // require these closure objects to be stack-allocated. 34 // require these closure objects to be stack-allocated.
35 class CardTableEntryClosure: public CHeapObj { 35 class CardTableEntryClosure: public CHeapObj<mtGC> {
36 public: 36 public:
37 // Process the card whose card table entry is "card_ptr". If returns 37 // Process the card whose card table entry is "card_ptr". If returns
38 // "false", terminate the iteration early. 38 // "false", terminate the iteration early.
39 virtual bool do_card_ptr(jbyte* card_ptr, int worker_i = 0) = 0; 39 virtual bool do_card_ptr(jbyte* card_ptr, int worker_i = 0) = 0;
40 }; 40 };

mercurial