equal
deleted
inserted
replaced
993 jint initialize(); |
993 jint initialize(); |
994 |
994 |
995 // Initialize weak reference processing. |
995 // Initialize weak reference processing. |
996 virtual void ref_processing_init(); |
996 virtual void ref_processing_init(); |
997 |
997 |
998 void set_par_threads(int t) { |
998 void set_par_threads(uint t) { |
999 SharedHeap::set_par_threads(t); |
999 SharedHeap::set_par_threads(t); |
1000 // Done in SharedHeap but oddly there are |
1000 // Done in SharedHeap but oddly there are |
1001 // two _process_strong_tasks's in a G1CollectedHeap |
1001 // two _process_strong_tasks's in a G1CollectedHeap |
1002 // so do it here too. |
1002 // so do it here too. |
1003 _process_strong_tasks->set_n_threads(t); |
1003 _process_strong_tasks->set_n_threads(t); |
1296 // successful, applying the closure to each region in the chunk (and |
1296 // successful, applying the closure to each region in the chunk (and |
1297 // setting the claim value of the second and subsequent regions of the |
1297 // setting the claim value of the second and subsequent regions of the |
1298 // chunk.) For now requires that "doHeapRegion" always returns "false", |
1298 // chunk.) For now requires that "doHeapRegion" always returns "false", |
1299 // i.e., that a closure never attempt to abort a traversal. |
1299 // i.e., that a closure never attempt to abort a traversal. |
1300 void heap_region_par_iterate_chunked(HeapRegionClosure* blk, |
1300 void heap_region_par_iterate_chunked(HeapRegionClosure* blk, |
1301 int worker, |
1301 uint worker, |
1302 int no_of_par_workers, |
1302 uint no_of_par_workers, |
1303 jint claim_value); |
1303 jint claim_value); |
1304 |
1304 |
1305 // It resets all the region claim values to the default. |
1305 // It resets all the region claim values to the default. |
1306 void reset_heap_region_claim_values(); |
1306 void reset_heap_region_claim_values(); |
1307 |
1307 |