< prev index next >
src/share/vm/gc/g1/g1CollectedHeap.hpp
Print this page
rev 12506 : 8171238: Unify cleanup code used in G1 Remark and Full GC marking
Reviewed-by:
rev 12507 : [mq]: 8171238-rev-tsch
*** 1402,1415 ****
// Rebuild the strong code root lists for each region
// after a full GC.
void rebuild_strong_code_roots();
// Partial cleaning used when class unloading is disabled.
void partial_cleaning(BoolObjectClosure* is_alive, bool unlink_strings, bool unlink_symbols, bool unlink_string_dedup);
! // Full parallel cleaning when class unloading is enabled.
! void full_cleaning(BoolObjectClosure* is_alive, bool class_unloading_occurred);
// Redirty logged cards in the refinement queue.
void redirty_logged_cards();
// Verification
--- 1402,1420 ----
// Rebuild the strong code root lists for each region
// after a full GC.
void rebuild_strong_code_roots();
// Partial cleaning used when class unloading is disabled.
+ // Let the caller choose what structures to clean out:
+ // - StringTable
+ // - SymbolTable
+ // - StringDeduplication structures
void partial_cleaning(BoolObjectClosure* is_alive, bool unlink_strings, bool unlink_symbols, bool unlink_string_dedup);
! // Complete cleaning used when class unloading is enabled.
! // Cleans out all structures handled by partial_cleaning and also the CodeCache.
! void complete_cleaning(BoolObjectClosure* is_alive, bool class_unloading_occurred);
// Redirty logged cards in the refinement queue.
void redirty_logged_cards();
// Verification
< prev index next >