Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/vmStructs_g1.hpp @ 20276:1526a938e670
8047818: G1 HeapRegions can no longer be ContiguousSpaces
Summary: Change parent of G1OffsetTableContigSpace to CompactibleSpace, reimplement missing functionality
Reviewed-by: stefank, jmasa, tschatzl
author | mgerdin |
---|---|
date | Thu, 26 Jun 2014 11:36:58 +0200 |
parents | 58fc1b1523dc |
children | 6701abbc4441 |
comparison
equal
deleted
inserted
replaced
20275:e5035defa3c4 | 20276:1526a938e670 |
---|---|
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 static_field(HeapRegion, LogOfHRGrainBytes, int) \ | 35 static_field(HeapRegion, LogOfHRGrainBytes, int) \ |
36 \ | 36 \ |
37 nonstatic_field(G1OffsetTableContigSpace, _top, HeapWord*) \ | |
38 \ | |
37 nonstatic_field(G1HeapRegionTable, _base, address) \ | 39 nonstatic_field(G1HeapRegionTable, _base, address) \ |
38 nonstatic_field(G1HeapRegionTable, _length, size_t) \ | 40 nonstatic_field(G1HeapRegionTable, _length, size_t) \ |
39 nonstatic_field(G1HeapRegionTable, _biased_base, address) \ | 41 nonstatic_field(G1HeapRegionTable, _biased_base, address) \ |
40 nonstatic_field(G1HeapRegionTable, _bias, size_t) \ | 42 nonstatic_field(G1HeapRegionTable, _bias, size_t) \ |
41 nonstatic_field(G1HeapRegionTable, _shift_by, uint) \ | 43 nonstatic_field(G1HeapRegionTable, _shift_by, uint) \ |
67 \ | 69 \ |
68 declare_toplevel_type(G1HeapRegionTable) \ | 70 declare_toplevel_type(G1HeapRegionTable) \ |
69 \ | 71 \ |
70 declare_type(G1CollectedHeap, SharedHeap) \ | 72 declare_type(G1CollectedHeap, SharedHeap) \ |
71 \ | 73 \ |
72 declare_type(HeapRegion, ContiguousSpace) \ | 74 declare_type(G1OffsetTableContigSpace, CompactibleSpace) \ |
75 declare_type(HeapRegion, G1OffsetTableContigSpace) \ | |
73 declare_toplevel_type(HeapRegionSeq) \ | 76 declare_toplevel_type(HeapRegionSeq) \ |
74 declare_toplevel_type(HeapRegionSetBase) \ | 77 declare_toplevel_type(HeapRegionSetBase) \ |
75 declare_toplevel_type(HeapRegionSetCount) \ | 78 declare_toplevel_type(HeapRegionSetCount) \ |
76 declare_toplevel_type(G1MonitoringSupport) \ | 79 declare_toplevel_type(G1MonitoringSupport) \ |
77 \ | 80 \ |