88 static HeapWord* shared_bottom;
89 static HeapWord* readonly_bottom;
90 static HeapWord* readonly_end;
91 static HeapWord* readwrite_bottom;
92 static HeapWord* readwrite_end;
93 static HeapWord* miscdata_bottom;
94 static HeapWord* miscdata_end;
95 static HeapWord* misccode_bottom;
96 static HeapWord* misccode_end;
97 static HeapWord* shared_end;
98
99 // Performance Counters
100 GenerationCounters* _gen_counters;
101 CSpaceCounters* _space_counters;
102
103 void initialize_performance_counters();
104
105 public:
106
107 enum {
108 vtbl_list_size = 16, // number of entries in the shared space vtable list.
109 num_virtuals = 200 // number of virtual methods in Klass (or
110 // subclass) objects, or greater.
111 };
112
113 enum {
114 ro = 0, // read-only shared space in the heap
115 rw = 1, // read-write shared space in the heap
116 md = 2, // miscellaneous data for initializing tables, etc.
117 mc = 3, // miscellaneous code - vtable replacement.
118 n_regions = 4
119 };
120
121 CompactingPermGenGen(ReservedSpace rs, ReservedSpace shared_rs,
122 size_t initial_byte_size, int level, GenRemSet* remset,
123 ContiguousSpace* space,
124 PermanentGenerationSpec* perm_spec);
125
126 const char* name() const {
127 return "compacting perm gen";
128 }
|
88 static HeapWord* shared_bottom;
89 static HeapWord* readonly_bottom;
90 static HeapWord* readonly_end;
91 static HeapWord* readwrite_bottom;
92 static HeapWord* readwrite_end;
93 static HeapWord* miscdata_bottom;
94 static HeapWord* miscdata_end;
95 static HeapWord* misccode_bottom;
96 static HeapWord* misccode_end;
97 static HeapWord* shared_end;
98
99 // Performance Counters
100 GenerationCounters* _gen_counters;
101 CSpaceCounters* _space_counters;
102
103 void initialize_performance_counters();
104
105 public:
106
107 enum {
108 vtbl_list_size = 17, // number of entries in the shared space vtable list.
109 num_virtuals = 200 // number of virtual methods in Klass (or
110 // subclass) objects, or greater.
111 };
112
113 enum {
114 ro = 0, // read-only shared space in the heap
115 rw = 1, // read-write shared space in the heap
116 md = 2, // miscellaneous data for initializing tables, etc.
117 mc = 3, // miscellaneous code - vtable replacement.
118 n_regions = 4
119 };
120
121 CompactingPermGenGen(ReservedSpace rs, ReservedSpace shared_rs,
122 size_t initial_byte_size, int level, GenRemSet* remset,
123 ContiguousSpace* space,
124 PermanentGenerationSpec* perm_spec);
125
126 const char* name() const {
127 return "compacting perm gen";
128 }
|