< prev index next >

src/hotspot/share/gc/shared/c2/cardTableBarrierSetC2.hpp

Print this page

21  * questions.
22  *
23  */
24 
25 #ifndef SHARE_GC_SHARED_C2_CARDTABLEBARRIERSETC2_HPP
26 #define SHARE_GC_SHARED_C2_CARDTABLEBARRIERSETC2_HPP
27 
28 #include "gc/shared/c2/modRefBarrierSetC2.hpp"
29 
30 class CardTableBarrierSetC2: public ModRefBarrierSetC2 {
31 protected:
32   virtual void post_barrier(GraphKit* kit,
33                             Node* obj,
34                             Node* adr,
35                             Node* val,
36                             bool use_precise) const;
37 
38   Node* byte_map_base_node(GraphKit* kit) const;
39 
40 public:
41   virtual void eliminate_gc_barrier(PhaseMacroExpand* macro, Node* node) const;
42   virtual bool array_copy_requires_gc_barriers(bool tightly_coupled_alloc, BasicType type, bool is_clone, bool is_clone_instance, ArrayCopyPhase phase) const;
43 
44   static bool use_ReduceInitialCardMarks();
45 };
46 
47 #endif // SHARE_GC_SHARED_C2_CARDTABLEBARRIERSETC2_HPP

21  * questions.
22  *
23  */
24 
25 #ifndef SHARE_GC_SHARED_C2_CARDTABLEBARRIERSETC2_HPP
26 #define SHARE_GC_SHARED_C2_CARDTABLEBARRIERSETC2_HPP
27 
28 #include "gc/shared/c2/modRefBarrierSetC2.hpp"
29 
30 class CardTableBarrierSetC2: public ModRefBarrierSetC2 {
31 protected:
32   virtual void post_barrier(GraphKit* kit,
33                             Node* obj,
34                             Node* adr,
35                             Node* val,
36                             bool use_precise) const;
37 
38   Node* byte_map_base_node(GraphKit* kit) const;
39 
40 public:
41   virtual void eliminate_gc_barrier(PhaseIterGVN* igvn, Node* node) const;
42   virtual bool array_copy_requires_gc_barriers(bool tightly_coupled_alloc, BasicType type, bool is_clone, bool is_clone_instance, ArrayCopyPhase phase) const;
43 
44   static bool use_ReduceInitialCardMarks();
45 };
46 
47 #endif // SHARE_GC_SHARED_C2_CARDTABLEBARRIERSETC2_HPP
< prev index next >