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
1323 // Rebuild the strong code root lists for each region
1324 // after a full GC.
1325 void rebuild_strong_code_roots();
1326
1327 // Partial cleaning used when class unloading is disabled.
1328 // Let the caller choose what structures to clean out:
1329 // - StringTable
1330 // - SymbolTable
1331 // - StringDeduplication structures
1332 void partial_cleaning(BoolObjectClosure* is_alive, bool unlink_strings, bool unlink_symbols, bool unlink_string_dedup);
1333
1334 // Complete cleaning used when class unloading is enabled.
1335 // Cleans out all structures handled by partial_cleaning and also the CodeCache.
1336 void complete_cleaning(BoolObjectClosure* is_alive, bool class_unloading_occurred);
1337
1338 // Redirty logged cards in the refinement queue.
1339 void redirty_logged_cards();
1340 // Verification
1341
1342 // Deduplicate the string
1343 virtual void deduplicate_string(oop str);
1344
1345 // Perform any cleanup actions necessary before allowing a verification.
1346 virtual void prepare_for_verify();
1347
1348 // Perform verification.
1349
1350 // vo == UsePrevMarking -> use "prev" marking information,
1351 // vo == UseNextMarking -> use "next" marking information
1352 // vo == UseFullMarking -> use "next" marking bitmap but no TAMS
|
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
1323 // Rebuild the strong code root lists for each region
1324 // after a full GC.
1325 void rebuild_strong_code_roots();
1326
1327 // Partial cleaning used when class unloading is disabled.
1328 // Let the caller choose what structures to clean out:
1329 // - StringTable
1330 // - StringDeduplication structures
1331 void partial_cleaning(BoolObjectClosure* is_alive, bool unlink_strings, bool unlink_string_dedup);
1332
1333 // Complete cleaning used when class unloading is enabled.
1334 // Cleans out all structures handled by partial_cleaning and also the CodeCache.
1335 void complete_cleaning(BoolObjectClosure* is_alive, bool class_unloading_occurred);
1336
1337 // Redirty logged cards in the refinement queue.
1338 void redirty_logged_cards();
1339 // Verification
1340
1341 // Deduplicate the string
1342 virtual void deduplicate_string(oop str);
1343
1344 // Perform any cleanup actions necessary before allowing a verification.
1345 virtual void prepare_for_verify();
1346
1347 // Perform verification.
1348
1349 // vo == UsePrevMarking -> use "prev" marking information,
1350 // vo == UseNextMarking -> use "next" marking information
1351 // vo == UseFullMarking -> use "next" marking bitmap but no TAMS
|