|
29 | 29 | #include "gc/serial/serialHeap.hpp"
|
30 | 30 | #include "gc/serial/tenuredGeneration.hpp"
|
31 | 31 |
|
32 |
| -#define VM_STRUCTS_SERIALGC(nonstatic_field, \ |
33 |
| - volatile_nonstatic_field, \ |
34 |
| - static_field) \ |
35 |
| - nonstatic_field(TenuredGeneration, _rs, CardTableRS*) \ |
36 |
| - nonstatic_field(TenuredGeneration, _bts, BlockOffsetSharedArray*) \ |
37 |
| - nonstatic_field(TenuredGeneration, _shrink_factor, size_t) \ |
38 |
| - nonstatic_field(TenuredGeneration, _capacity_at_prologue, size_t) \ |
39 |
| - nonstatic_field(TenuredGeneration, _used_at_prologue, size_t) \ |
40 |
| - nonstatic_field(TenuredGeneration, _min_heap_delta_bytes, size_t) \ |
41 |
| - nonstatic_field(TenuredGeneration, _the_space, TenuredSpace*) \ |
42 |
| - \ |
43 |
| - nonstatic_field(DefNewGeneration, _old_gen, Generation*) \ |
44 |
| - nonstatic_field(DefNewGeneration, _tenuring_threshold, uint) \ |
45 |
| - nonstatic_field(DefNewGeneration, _age_table, AgeTable) \ |
46 |
| - nonstatic_field(DefNewGeneration, _eden_space, ContiguousSpace*) \ |
47 |
| - nonstatic_field(DefNewGeneration, _from_space, ContiguousSpace*) \ |
48 |
| - nonstatic_field(DefNewGeneration, _to_space, ContiguousSpace*) \ |
49 |
| - \ |
50 |
| - nonstatic_field(BlockOffsetTable, _bottom, HeapWord*) \ |
51 |
| - nonstatic_field(BlockOffsetTable, _end, HeapWord*) \ |
52 |
| - \ |
53 |
| - nonstatic_field(BlockOffsetSharedArray, _reserved, MemRegion) \ |
54 |
| - nonstatic_field(BlockOffsetSharedArray, _end, HeapWord*) \ |
55 |
| - nonstatic_field(BlockOffsetSharedArray, _vs, VirtualSpace) \ |
56 |
| - nonstatic_field(BlockOffsetSharedArray, _offset_array, u_char*) \ |
57 |
| - \ |
58 |
| - nonstatic_field(BlockOffsetArray, _array, BlockOffsetSharedArray*) \ |
59 |
| - nonstatic_field(BlockOffsetArray, _sp, Space*) \ |
60 |
| - nonstatic_field(BlockOffsetArrayContigSpace, _next_offset_threshold, HeapWord*) \ |
61 |
| - nonstatic_field(BlockOffsetArrayContigSpace, _next_offset_index, size_t) \ |
62 |
| - \ |
63 |
| - nonstatic_field(TenuredSpace, _offsets, BlockOffsetArray) |
| 32 | +#define VM_STRUCTS_SERIALGC(nonstatic_field, \ |
| 33 | + volatile_nonstatic_field, \ |
| 34 | + static_field) \ |
| 35 | + nonstatic_field(TenuredGeneration, _rs, CardTableRS*) \ |
| 36 | + nonstatic_field(TenuredGeneration, _bts, SerialBlockOffsetSharedArray*) \ |
| 37 | + nonstatic_field(TenuredGeneration, _shrink_factor, size_t) \ |
| 38 | + nonstatic_field(TenuredGeneration, _capacity_at_prologue, size_t) \ |
| 39 | + nonstatic_field(TenuredGeneration, _used_at_prologue, size_t) \ |
| 40 | + nonstatic_field(TenuredGeneration, _min_heap_delta_bytes, size_t) \ |
| 41 | + nonstatic_field(TenuredGeneration, _the_space, TenuredSpace*) \ |
| 42 | + \ |
| 43 | + nonstatic_field(DefNewGeneration, _old_gen, Generation*) \ |
| 44 | + nonstatic_field(DefNewGeneration, _tenuring_threshold, uint) \ |
| 45 | + nonstatic_field(DefNewGeneration, _age_table, AgeTable) \ |
| 46 | + nonstatic_field(DefNewGeneration, _eden_space, ContiguousSpace*) \ |
| 47 | + nonstatic_field(DefNewGeneration, _from_space, ContiguousSpace*) \ |
| 48 | + nonstatic_field(DefNewGeneration, _to_space, ContiguousSpace*) \ |
| 49 | + \ |
| 50 | + nonstatic_field(SerialBlockOffsetTable, _array, SerialBlockOffsetSharedArray*) \ |
| 51 | + \ |
| 52 | + nonstatic_field(SerialBlockOffsetSharedArray, _reserved, MemRegion) \ |
| 53 | + nonstatic_field(SerialBlockOffsetSharedArray, _vs, VirtualSpace) \ |
| 54 | + nonstatic_field(SerialBlockOffsetSharedArray, _offset_array, u_char*) \ |
| 55 | + \ |
| 56 | + nonstatic_field(TenuredSpace, _offsets, SerialBlockOffsetTable) |
64 | 57 |
|
65 | 58 | #define VM_TYPES_SERIALGC(declare_type, \
|
66 | 59 | declare_toplevel_type, \
|
|
73 | 66 | declare_type(CardTableRS, CardTable) \
|
74 | 67 | \
|
75 | 68 | declare_toplevel_type(TenuredGeneration*) \
|
76 |
| - declare_toplevel_type(BlockOffsetSharedArray) \ |
77 |
| - declare_toplevel_type(BlockOffsetTable) \ |
78 |
| - declare_type(BlockOffsetArray, BlockOffsetTable) \ |
79 |
| - declare_type(BlockOffsetArrayContigSpace, BlockOffsetArray) \ |
80 |
| - declare_toplevel_type(BlockOffsetSharedArray*) |
| 69 | + declare_toplevel_type(SerialBlockOffsetSharedArray) \ |
| 70 | + declare_toplevel_type(SerialBlockOffsetTable) |
81 | 71 |
|
82 | 72 | #define VM_INT_CONSTANTS_SERIALGC(declare_constant, \
|
83 | 73 | declare_constant_with_value)
|
|
0 commit comments