< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp

Print this page
@@ -468,10 +468,13 @@
    AdaptiveSizePolicy* size_policy() shenandoah_not_implemented_return(NULL);
    bool is_maximal_no_gc() const shenandoah_not_implemented_return(false);
  
    bool is_in(const void* p) const;
  
+   // TODO: Shenandoah might have some property that could be useful here.
+   bool requires_barriers(oop obj) const;
+ 
    MemRegion reserved_region() const { return _reserved; }
    bool is_in_reserved(const void* addr) const { return _reserved.contains(addr); }
  
    void collect(GCCause::Cause cause);
    void do_full_collection(bool clear_all_soft_refs);
< prev index next >