equal
deleted
inserted
replaced
25 #ifndef SHARE_GC_G1_G1BARRIERSET_HPP |
25 #ifndef SHARE_GC_G1_G1BARRIERSET_HPP |
26 #define SHARE_GC_G1_G1BARRIERSET_HPP |
26 #define SHARE_GC_G1_G1BARRIERSET_HPP |
27 |
27 |
28 #include "gc/g1/g1DirtyCardQueue.hpp" |
28 #include "gc/g1/g1DirtyCardQueue.hpp" |
29 #include "gc/g1/g1SATBMarkQueueSet.hpp" |
29 #include "gc/g1/g1SATBMarkQueueSet.hpp" |
|
30 #include "gc/shared/cardTable.hpp" |
30 #include "gc/shared/cardTableBarrierSet.hpp" |
31 #include "gc/shared/cardTableBarrierSet.hpp" |
31 |
32 |
32 class CardTable; |
|
33 class G1CardTable; |
33 class G1CardTable; |
34 |
34 |
35 // This barrier is specialized to use a logging barrier to support |
35 // This barrier is specialized to use a logging barrier to support |
36 // snapshot-at-the-beginning marking. |
36 // snapshot-at-the-beginning marking. |
37 |
37 |
71 void write_region(MemRegion mr) { invalidate(mr); } |
71 void write_region(MemRegion mr) { invalidate(mr); } |
72 void write_ref_array_work(MemRegion mr) { invalidate(mr); } |
72 void write_ref_array_work(MemRegion mr) { invalidate(mr); } |
73 |
73 |
74 template <DecoratorSet decorators, typename T> |
74 template <DecoratorSet decorators, typename T> |
75 void write_ref_field_post(T* field, oop new_val); |
75 void write_ref_field_post(T* field, oop new_val); |
76 void write_ref_field_post_slow(volatile jbyte* byte); |
76 void write_ref_field_post_slow(volatile CardValue* byte); |
77 |
77 |
78 virtual void on_thread_create(Thread* thread); |
78 virtual void on_thread_create(Thread* thread); |
79 virtual void on_thread_destroy(Thread* thread); |
79 virtual void on_thread_destroy(Thread* thread); |
80 virtual void on_thread_attach(Thread* thread); |
80 virtual void on_thread_attach(Thread* thread); |
81 virtual void on_thread_detach(Thread* thread); |
81 virtual void on_thread_detach(Thread* thread); |