mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8065993: Merge OneContigSpaceCardGeneration with TenuredGeneration
Reviewed-by: mgerdin, kbarrett
This commit is contained in:
parent
ca3e287e96
commit
5c41d82d78
18 changed files with 404 additions and 485 deletions
|
@ -462,19 +462,6 @@ void CardTableModRefBS::non_clean_card_iterate_possibly_parallel(Space* sp,
|
|||
// equal to active_workers. When a different mechanism for shutting
|
||||
// off parallelism is used, then active_workers can be used in
|
||||
// place of n_par_threads.
|
||||
// This is an example of a path where n_par_threads is
|
||||
// set to 0 to turn off parallelism.
|
||||
// [7] CardTableModRefBS::non_clean_card_iterate()
|
||||
// [8] CardTableRS::younger_refs_in_space_iterate()
|
||||
// [9] Generation::younger_refs_in_space_iterate()
|
||||
// [10] OneContigSpaceCardGeneration::younger_refs_iterate()
|
||||
// [11] CompactingPermGenGen::younger_refs_iterate()
|
||||
// [12] CardTableRS::younger_refs_iterate()
|
||||
// [13] SharedHeap::process_strong_roots()
|
||||
// [14] G1CollectedHeap::verify()
|
||||
// [15] Universe::verify()
|
||||
// [16] G1CollectedHeap::do_collection_pause_at_safepoint()
|
||||
//
|
||||
int n_threads = SharedHeap::heap()->n_par_threads();
|
||||
bool is_par = n_threads > 0;
|
||||
if (is_par) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue