Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1RemSet.cpp @ 4728:441e946dc1af
7121618: Change type of number of GC workers to unsigned int.
Summary: Change variables representing the number of GC workers to uint from int and size_t. Change the parameter in work(int i) to work(uint worker_id).
Reviewed-by: brutisso, tonyp
author | jmasa |
---|---|
date | Wed, 14 Dec 2011 13:34:57 -0800 |
parents | dc467e8b2c5e |
children | b4ebad3520bb |
comparison
equal
deleted
inserted
replaced
4727:67fdcb391461 | 4728:441e946dc1af |
---|---|
556 ScrubRSClosure scrub_cl(region_bm, card_bm); | 556 ScrubRSClosure scrub_cl(region_bm, card_bm); |
557 _g1->heap_region_iterate(&scrub_cl); | 557 _g1->heap_region_iterate(&scrub_cl); |
558 } | 558 } |
559 | 559 |
560 void G1RemSet::scrub_par(BitMap* region_bm, BitMap* card_bm, | 560 void G1RemSet::scrub_par(BitMap* region_bm, BitMap* card_bm, |
561 int worker_num, int claim_val) { | 561 uint worker_num, int claim_val) { |
562 ScrubRSClosure scrub_cl(region_bm, card_bm); | 562 ScrubRSClosure scrub_cl(region_bm, card_bm); |
563 _g1->heap_region_par_iterate_chunked(&scrub_cl, | 563 _g1->heap_region_par_iterate_chunked(&scrub_cl, |
564 worker_num, | 564 worker_num, |
565 (int) n_workers(), | 565 n_workers(), |
566 claim_val); | 566 claim_val); |
567 } | 567 } |
568 | 568 |
569 | 569 |
570 static IntHistogram out_of_histo(50, 50); | 570 static IntHistogram out_of_histo(50, 50); |