comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 17844:8847586c9037

8016302: Change type of the number of GC workers to unsigned int (2) Reviewed-by: tschatzl, jwilhelm
author vkempik
date Thu, 03 Apr 2014 17:49:31 +0400
parents bfdf528be8e8
children 1772223a25a2
comparison
equal deleted inserted replaced
17843:81d7a4b28dc5 17844:8847586c9037
843 void g1_process_strong_roots(bool is_scavenging, 843 void g1_process_strong_roots(bool is_scavenging,
844 ScanningOption so, 844 ScanningOption so,
845 OopClosure* scan_non_heap_roots, 845 OopClosure* scan_non_heap_roots,
846 OopsInHeapRegionClosure* scan_rs, 846 OopsInHeapRegionClosure* scan_rs,
847 G1KlassScanClosure* scan_klasses, 847 G1KlassScanClosure* scan_klasses,
848 int worker_i); 848 uint worker_i);
849 849
850 // Apply "blk" to all the weak roots of the system. These include 850 // Apply "blk" to all the weak roots of the system. These include
851 // JNI weak roots, the code cache, system dictionary, symbol table, 851 // JNI weak roots, the code cache, system dictionary, symbol table,
852 // string table, and referents of reachable weak refs. 852 // string table, and referents of reachable weak refs.
853 void g1_process_weak_roots(OopClosure* root_closure); 853 void g1_process_weak_roots(OopClosure* root_closure);
1142 // continues humongous regions too. 1142 // continues humongous regions too.
1143 void reset_gc_time_stamps(HeapRegion* hr); 1143 void reset_gc_time_stamps(HeapRegion* hr);
1144 1144
1145 void iterate_dirty_card_closure(CardTableEntryClosure* cl, 1145 void iterate_dirty_card_closure(CardTableEntryClosure* cl,
1146 DirtyCardQueue* into_cset_dcq, 1146 DirtyCardQueue* into_cset_dcq,
1147 bool concurrent, int worker_i); 1147 bool concurrent, uint worker_i);
1148 1148
1149 // The shared block offset table array. 1149 // The shared block offset table array.
1150 G1BlockOffsetSharedArray* bot_shared() const { return _bot_shared; } 1150 G1BlockOffsetSharedArray* bot_shared() const { return _bot_shared; }
1151 1151
1152 // Reference Processing accessors 1152 // Reference Processing accessors
1382 // the time stamps. Called when we reset the GC time stamp. 1382 // the time stamps. Called when we reset the GC time stamp.
1383 void clear_cset_start_regions(); 1383 void clear_cset_start_regions();
1384 1384
1385 // Given the id of a worker, obtain or calculate a suitable 1385 // Given the id of a worker, obtain or calculate a suitable
1386 // starting region for iterating over the current collection set. 1386 // starting region for iterating over the current collection set.
1387 HeapRegion* start_cset_region_for_worker(int worker_i); 1387 HeapRegion* start_cset_region_for_worker(uint worker_i);
1388 1388
1389 // This is a convenience method that is used by the 1389 // This is a convenience method that is used by the
1390 // HeapRegionIterator classes to calculate the starting region for 1390 // HeapRegionIterator classes to calculate the starting region for
1391 // each worker so that they do not all start from the same region. 1391 // each worker so that they do not all start from the same region.
1392 HeapRegion* start_region_for_worker(uint worker_i, uint no_of_par_workers); 1392 HeapRegion* start_region_for_worker(uint worker_i, uint no_of_par_workers);