21 * have any questions. |
21 * have any questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 #define VM_STRUCTS_CMS(nonstatic_field, \ |
25 #define VM_STRUCTS_CMS(nonstatic_field, \ |
|
26 volatile_nonstatic_field, \ |
26 static_field) \ |
27 static_field) \ |
27 nonstatic_field(CompactibleFreeListSpace, _collector, CMSCollector*) \ |
28 nonstatic_field(CompactibleFreeListSpace, _collector, CMSCollector*) \ |
28 nonstatic_field(CompactibleFreeListSpace, _bt, BlockOffsetArrayNonContigSpace) \ |
29 nonstatic_field(CompactibleFreeListSpace, _bt, BlockOffsetArrayNonContigSpace) \ |
29 \ |
30 \ |
30 nonstatic_field(CMSPermGen, _gen, ConcurrentMarkSweepGeneration*) \ |
31 nonstatic_field(CMSPermGen, _gen, ConcurrentMarkSweepGeneration*) \ |
34 nonstatic_field(CMSBitMap, _bm, BitMap) \ |
35 nonstatic_field(CMSBitMap, _bm, BitMap) \ |
35 nonstatic_field(CMSBitMap, _virtual_space, VirtualSpace) \ |
36 nonstatic_field(CMSBitMap, _virtual_space, VirtualSpace) \ |
36 nonstatic_field(CMSCollector, _markBitMap, CMSBitMap) \ |
37 nonstatic_field(CMSCollector, _markBitMap, CMSBitMap) \ |
37 nonstatic_field(ConcurrentMarkSweepGeneration, _cmsSpace, CompactibleFreeListSpace*) \ |
38 nonstatic_field(ConcurrentMarkSweepGeneration, _cmsSpace, CompactibleFreeListSpace*) \ |
38 static_field(ConcurrentMarkSweepThread, _collector, CMSCollector*) \ |
39 static_field(ConcurrentMarkSweepThread, _collector, CMSCollector*) \ |
|
40 volatile_nonstatic_field(FreeChunk, _size, size_t) \ |
39 nonstatic_field(FreeChunk, _next, FreeChunk*) \ |
41 nonstatic_field(FreeChunk, _next, FreeChunk*) \ |
40 nonstatic_field(FreeChunk, _prev, FreeChunk*) \ |
42 nonstatic_field(FreeChunk, _prev, FreeChunk*) |
41 nonstatic_field(FreeChunk, _size, size_t) |
|
42 |
43 |
43 #define VM_TYPES_CMS(declare_type, \ |
44 #define VM_TYPES_CMS(declare_type, \ |
44 declare_toplevel_type) \ |
45 declare_toplevel_type) \ |
45 \ |
46 \ |
46 declare_type(ConcurrentMarkSweepGeneration,CardGeneration) \ |
47 declare_type(ConcurrentMarkSweepGeneration,CardGeneration) \ |