src/hotspot/share/gc/g1/g1CollectedHeap.hpp
changeset 47624 b055cb5170f5
parent 47580 96392e113a0a
child 47636 52d46d7e3454
equal deleted inserted replaced
47623:0a5f1b851890 47624:b055cb5170f5
  1280     return true;
  1280     return true;
  1281   }
  1281   }
  1282 
  1282 
  1283   inline bool is_in_young(const oop obj);
  1283   inline bool is_in_young(const oop obj);
  1284 
  1284 
  1285   virtual bool is_scavengable(const void* addr);
       
  1286 
       
  1287   // We don't need barriers for initializing stores to objects
  1285   // We don't need barriers for initializing stores to objects
  1288   // in the young gen: for the SATB pre-barrier, there is no
  1286   // in the young gen: for the SATB pre-barrier, there is no
  1289   // pre-value that needs to be remembered; for the remembered-set
  1287   // pre-value that needs to be remembered; for the remembered-set
  1290   // update logging post-barrier, we don't maintain remembered set
  1288   // update logging post-barrier, we don't maintain remembered set
  1291   // information for young gen objects.
  1289   // information for young gen objects.
  1392   // Refinement
  1390   // Refinement
  1393 
  1391 
  1394   ConcurrentG1Refine* concurrent_g1_refine() const { return _cg1r; }
  1392   ConcurrentG1Refine* concurrent_g1_refine() const { return _cg1r; }
  1395 
  1393 
  1396   // Optimized nmethod scanning support routines
  1394   // Optimized nmethod scanning support routines
       
  1395 
       
  1396   // Is an oop scavengeable
       
  1397   virtual bool is_scavengable(oop obj);
  1397 
  1398 
  1398   // Register the given nmethod with the G1 heap.
  1399   // Register the given nmethod with the G1 heap.
  1399   virtual void register_nmethod(nmethod* nm);
  1400   virtual void register_nmethod(nmethod* nm);
  1400 
  1401 
  1401   // Unregister the given nmethod from the G1 heap.
  1402   // Unregister the given nmethod from the G1 heap.