1295 // This will find the region to which the object belongs and 1296 // then call the region version of the same function. 1297 1298 // Added if it is NULL it isn't dead. 1299 1300 inline bool is_obj_dead(const oop obj) const; 1301 1302 inline bool is_obj_ill(const oop obj) const; 1303 1304 inline bool is_obj_dead_full(const oop obj, const HeapRegion* hr) const; 1305 inline bool is_obj_dead_full(const oop obj) const; 1306 1307 G1ConcurrentMark* concurrent_mark() const { return _cm; } 1308 1309 // Refinement 1310 1311 G1ConcurrentRefine* concurrent_refine() const { return _cr; } 1312 1313 // Optimized nmethod scanning support routines 1314 1315 // Is an oop scavengeable 1316 virtual bool is_scavengable(oop obj); 1317 1318 // Register the given nmethod with the G1 heap. 1319 virtual void register_nmethod(nmethod* nm); 1320 1321 // Unregister the given nmethod from the G1 heap. 1322 virtual void unregister_nmethod(nmethod* nm); 1323 1324 // Free up superfluous code root memory. 1325 void purge_code_root_memory(); 1326 1327 // Rebuild the strong code root lists for each region 1328 // after a full GC. 1329 void rebuild_strong_code_roots(); 1330 1331 // Partial cleaning of VM internal data structures. 1332 void string_dedup_cleaning(BoolObjectClosure* is_alive, 1333 OopClosure* keep_alive, 1334 G1GCPhaseTimes* phase_times = NULL); 1335 1336 // Performs cleaning of data structures after class unloading. 1337 void complete_cleaning(BoolObjectClosure* is_alive, bool class_unloading_occurred); | 1295 // This will find the region to which the object belongs and 1296 // then call the region version of the same function. 1297 1298 // Added if it is NULL it isn't dead. 1299 1300 inline bool is_obj_dead(const oop obj) const; 1301 1302 inline bool is_obj_ill(const oop obj) const; 1303 1304 inline bool is_obj_dead_full(const oop obj, const HeapRegion* hr) const; 1305 inline bool is_obj_dead_full(const oop obj) const; 1306 1307 G1ConcurrentMark* concurrent_mark() const { return _cm; } 1308 1309 // Refinement 1310 1311 G1ConcurrentRefine* concurrent_refine() const { return _cr; } 1312 1313 // Optimized nmethod scanning support routines 1314 1315 // Register the given nmethod with the G1 heap. 1316 virtual void register_nmethod(nmethod* nm); 1317 1318 // Unregister the given nmethod from the G1 heap. 1319 virtual void unregister_nmethod(nmethod* nm); 1320 1321 // Free up superfluous code root memory. 1322 void purge_code_root_memory(); 1323 1324 // Rebuild the strong code root lists for each region 1325 // after a full GC. 1326 void rebuild_strong_code_roots(); 1327 1328 // Partial cleaning of VM internal data structures. 1329 void string_dedup_cleaning(BoolObjectClosure* is_alive, 1330 OopClosure* keep_alive, 1331 G1GCPhaseTimes* phase_times = NULL); 1332 1333 // Performs cleaning of data structures after class unloading. 1334 void complete_cleaning(BoolObjectClosure* is_alive, bool class_unloading_occurred); |