Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp @ 6010:720b6a76dd9d
7157073: G1: type change size_t -> uint for region counts / indexes
Summary: Change the type of fields / variables / etc. that represent region counts and indeces from size_t to uint.
Reviewed-by: iveresov, brutisso, jmasa, jwilhelm
author | tonyp |
---|---|
date | Wed, 18 Apr 2012 07:21:15 -0400 |
parents | eff609af17d7 |
children | 988bf00cc564 |
comparison
equal
deleted
inserted
replaced
6009:dde53abda3d6 | 6010:720b6a76dd9d |
---|---|
47 BitMap* task_card_bm) { | 47 BitMap* task_card_bm) { |
48 G1CollectedHeap* g1h = _g1h; | 48 G1CollectedHeap* g1h = _g1h; |
49 HeapWord* start = mr.start(); | 49 HeapWord* start = mr.start(); |
50 HeapWord* last = mr.last(); | 50 HeapWord* last = mr.last(); |
51 size_t region_size_bytes = mr.byte_size(); | 51 size_t region_size_bytes = mr.byte_size(); |
52 size_t index = hr->hrs_index(); | 52 uint index = hr->hrs_index(); |
53 | 53 |
54 assert(!hr->continuesHumongous(), "should not be HC region"); | 54 assert(!hr->continuesHumongous(), "should not be HC region"); |
55 assert(hr == g1h->heap_region_containing(start), "sanity"); | 55 assert(hr == g1h->heap_region_containing(start), "sanity"); |
56 assert(hr == g1h->heap_region_containing(mr.last()), "sanity"); | 56 assert(hr == g1h->heap_region_containing(mr.last()), "sanity"); |
57 assert(marked_bytes_array != NULL, "pre-condition"); | 57 assert(marked_bytes_array != NULL, "pre-condition"); |