Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/vmStructs_g1.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 | 0b3d1ec6eaee |
children | 69f26e8e09f9 |
comparison
equal
deleted
inserted
replaced
6009:dde53abda3d6 | 6010:720b6a76dd9d |
---|---|
32 #define VM_STRUCTS_G1(nonstatic_field, static_field) \ | 32 #define VM_STRUCTS_G1(nonstatic_field, static_field) \ |
33 \ | 33 \ |
34 static_field(HeapRegion, GrainBytes, size_t) \ | 34 static_field(HeapRegion, GrainBytes, size_t) \ |
35 \ | 35 \ |
36 nonstatic_field(HeapRegionSeq, _regions, HeapRegion**) \ | 36 nonstatic_field(HeapRegionSeq, _regions, HeapRegion**) \ |
37 nonstatic_field(HeapRegionSeq, _length, size_t) \ | 37 nonstatic_field(HeapRegionSeq, _length, uint) \ |
38 \ | 38 \ |
39 nonstatic_field(G1CollectedHeap, _hrs, HeapRegionSeq) \ | 39 nonstatic_field(G1CollectedHeap, _hrs, HeapRegionSeq) \ |
40 nonstatic_field(G1CollectedHeap, _g1_committed, MemRegion) \ | 40 nonstatic_field(G1CollectedHeap, _g1_committed, MemRegion) \ |
41 nonstatic_field(G1CollectedHeap, _summary_bytes_used, size_t) \ | 41 nonstatic_field(G1CollectedHeap, _summary_bytes_used, size_t) \ |
42 nonstatic_field(G1CollectedHeap, _g1mm, G1MonitoringSupport*) \ | 42 nonstatic_field(G1CollectedHeap, _g1mm, G1MonitoringSupport*) \ |
48 nonstatic_field(G1MonitoringSupport, _survivor_committed, size_t) \ | 48 nonstatic_field(G1MonitoringSupport, _survivor_committed, size_t) \ |
49 nonstatic_field(G1MonitoringSupport, _survivor_used, size_t) \ | 49 nonstatic_field(G1MonitoringSupport, _survivor_used, size_t) \ |
50 nonstatic_field(G1MonitoringSupport, _old_committed, size_t) \ | 50 nonstatic_field(G1MonitoringSupport, _old_committed, size_t) \ |
51 nonstatic_field(G1MonitoringSupport, _old_used, size_t) \ | 51 nonstatic_field(G1MonitoringSupport, _old_used, size_t) \ |
52 \ | 52 \ |
53 nonstatic_field(HeapRegionSetBase, _length, size_t) \ | 53 nonstatic_field(HeapRegionSetBase, _length, uint) \ |
54 nonstatic_field(HeapRegionSetBase, _region_num, size_t) \ | 54 nonstatic_field(HeapRegionSetBase, _region_num, uint) \ |
55 nonstatic_field(HeapRegionSetBase, _total_used_bytes, size_t) \ | 55 nonstatic_field(HeapRegionSetBase, _total_used_bytes, size_t) \ |
56 | 56 |
57 | 57 |
58 #define VM_TYPES_G1(declare_type, declare_toplevel_type) \ | 58 #define VM_TYPES_G1(declare_type, declare_toplevel_type) \ |
59 \ | 59 \ |