30 |
30 |
31 #define VM_STRUCTS_SERIALGC(nonstatic_field, \ |
31 #define VM_STRUCTS_SERIALGC(nonstatic_field, \ |
32 volatile_nonstatic_field, \ |
32 volatile_nonstatic_field, \ |
33 static_field) \ |
33 static_field) \ |
34 nonstatic_field(TenuredGeneration, _min_heap_delta_bytes, size_t) \ |
34 nonstatic_field(TenuredGeneration, _min_heap_delta_bytes, size_t) \ |
35 nonstatic_field(TenuredGeneration, _the_space, ContiguousSpace*) |
35 nonstatic_field(TenuredGeneration, _the_space, ContiguousSpace*) \ |
|
36 \ |
|
37 nonstatic_field(DefNewGeneration, _old_gen, Generation*) \ |
|
38 nonstatic_field(DefNewGeneration, _tenuring_threshold, uint) \ |
|
39 nonstatic_field(DefNewGeneration, _age_table, AgeTable) \ |
|
40 nonstatic_field(DefNewGeneration, _eden_space, ContiguousSpace*) \ |
|
41 nonstatic_field(DefNewGeneration, _from_space, ContiguousSpace*) \ |
|
42 nonstatic_field(DefNewGeneration, _to_space, ContiguousSpace*) |
36 |
43 |
37 #define VM_TYPES_SERIALGC(declare_type, \ |
44 #define VM_TYPES_SERIALGC(declare_type, \ |
38 declare_toplevel_type, \ |
45 declare_toplevel_type, \ |
39 declare_integer_type) \ |
46 declare_integer_type) \ |
40 declare_type(SerialHeap, GenCollectedHeap) \ |
47 declare_type(SerialHeap, GenCollectedHeap) \ |
41 declare_type(TenuredGeneration, CardGeneration) \ |
48 declare_type(TenuredGeneration, CardGeneration) \ |
42 declare_type(TenuredSpace, OffsetTableContigSpace) \ |
49 declare_type(TenuredSpace, OffsetTableContigSpace) \ |
43 \ |
50 \ |
|
51 declare_type(DefNewGeneration, Generation) \ |
|
52 \ |
44 declare_toplevel_type(TenuredGeneration*) |
53 declare_toplevel_type(TenuredGeneration*) |
45 |
54 |
46 #define VM_INT_CONSTANTS_SERIALGC(declare_constant, \ |
55 #define VM_INT_CONSTANTS_SERIALGC(declare_constant, \ |
47 declare_constant_with_value) |
56 declare_constant_with_value) |
48 |
57 |