< prev index next >

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

Print this page




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


< prev index next >