< prev index next >

src/hotspot/share/gc/g1/g1CollectedHeap.hpp

Print this page
rev 51258 : 8154343: Make SATB related code available to other GCs


1283   bool is_obj_ill(const oop obj, const HeapRegion* hr) const {
1284     return
1285       !hr->obj_allocated_since_next_marking(obj) &&
1286       !is_marked_next(obj) &&
1287       !hr->is_archive();
1288   }
1289 
1290   // Determine if an object is dead, given only the object itself.
1291   // This will find the region to which the object belongs and
1292   // then call the region version of the same function.
1293 
1294   // Added if it is NULL it isn't dead.
1295 
1296   inline bool is_obj_dead(const oop obj) const;
1297 
1298   inline bool is_obj_ill(const oop obj) const;
1299 
1300   inline bool is_obj_dead_full(const oop obj, const HeapRegion* hr) const;
1301   inline bool is_obj_dead_full(const oop obj) const;
1302 



1303   G1ConcurrentMark* concurrent_mark() const { return _cm; }
1304 
1305   // Refinement
1306 
1307   G1ConcurrentRefine* concurrent_refine() const { return _cr; }
1308 
1309   // Optimized nmethod scanning support routines
1310 
1311   // Is an oop scavengeable
1312   virtual bool is_scavengable(oop obj);
1313 
1314   // Register the given nmethod with the G1 heap.
1315   virtual void register_nmethod(nmethod* nm);
1316 
1317   // Unregister the given nmethod from the G1 heap.
1318   virtual void unregister_nmethod(nmethod* nm);
1319 
1320   // Free up superfluous code root memory.
1321   void purge_code_root_memory();
1322 




1283   bool is_obj_ill(const oop obj, const HeapRegion* hr) const {
1284     return
1285       !hr->obj_allocated_since_next_marking(obj) &&
1286       !is_marked_next(obj) &&
1287       !hr->is_archive();
1288   }
1289 
1290   // Determine if an object is dead, given only the object itself.
1291   // This will find the region to which the object belongs and
1292   // then call the region version of the same function.
1293 
1294   // Added if it is NULL it isn't dead.
1295 
1296   inline bool is_obj_dead(const oop obj) const;
1297 
1298   inline bool is_obj_ill(const oop obj) const;
1299 
1300   inline bool is_obj_dead_full(const oop obj, const HeapRegion* hr) const;
1301   inline bool is_obj_dead_full(const oop obj) const;
1302 
1303   virtual bool retain_satb_entry(const void* entry) const;
1304   virtual SATBMarkQueue* satb_mark_queue(JavaThread* t) const;
1305 
1306   G1ConcurrentMark* concurrent_mark() const { return _cm; }
1307 
1308   // Refinement
1309 
1310   G1ConcurrentRefine* concurrent_refine() const { return _cr; }
1311 
1312   // Optimized nmethod scanning support routines
1313 
1314   // Is an oop scavengeable
1315   virtual bool is_scavengable(oop obj);
1316 
1317   // Register the given nmethod with the G1 heap.
1318   virtual void register_nmethod(nmethod* nm);
1319 
1320   // Unregister the given nmethod from the G1 heap.
1321   virtual void unregister_nmethod(nmethod* nm);
1322 
1323   // Free up superfluous code root memory.
1324   void purge_code_root_memory();
1325 


< prev index next >