< prev index next >

src/hotspot/share/gc/parallel/parallelScavengeHeap.hpp

Print this page
@@ -182,12 +182,14 @@
    // Whether p is in the allocated part of the heap
    bool is_in(const void* p) const;
  
    bool is_in_reserved(const void* p) const;
  
-   bool is_in_young(oop p);  // reserved part
-   bool is_in_old(oop p);    // reserved part
+   bool is_in_young(oop p) const;  // reserved part
+   bool is_in_old(oop p);          // reserved part
+ 
+   virtual bool requires_barriers(oop obj) const;
  
    MemRegion reserved_region() const { return _reserved; }
    HeapWord* base() const { return _reserved.start(); }
  
    // Memory allocation.   "gc_time_limit_was_exceeded" will
< prev index next >