133 MetaWord* expand_and_allocate(size_t size, |
133 MetaWord* expand_and_allocate(size_t size, |
134 MetadataType mdtype); |
134 MetadataType mdtype); |
135 |
135 |
136 static bool is_initialized() { return _class_space_list != NULL; } |
136 static bool is_initialized() { return _class_space_list != NULL; } |
137 |
137 |
138 #ifndef PRODUCT |
138 static bool contains(const void *ptr); |
139 bool contains(const void *ptr) const; |
|
140 bool contains_class(const void *ptr) const; |
|
141 #endif |
|
142 |
|
143 void dump(outputStream* const out) const; |
139 void dump(outputStream* const out) const; |
144 |
140 |
145 void print_on(outputStream* st) const; |
141 void print_on(outputStream* st) const; |
146 // Debugging support |
142 // Debugging support |
147 void verify(); |
143 void verify(); |