Mercurial > hg > truffle
comparison src/share/vm/memory/metaspace.hpp @ 14521:29ccc4cbabca
Merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 12 Mar 2014 13:30:08 +0100 |
parents | abec000618bf |
children | 4ca6dc0799b6 62c54fcc0a35 |
comparison
equal
deleted
inserted
replaced
14520:f84115370178 | 14521:29ccc4cbabca |
---|---|
118 static size_t _compressed_class_space_size; | 118 static size_t _compressed_class_space_size; |
119 | 119 |
120 static size_t compressed_class_space_size() { | 120 static size_t compressed_class_space_size() { |
121 return _compressed_class_space_size; | 121 return _compressed_class_space_size; |
122 } | 122 } |
123 | |
123 static void set_compressed_class_space_size(size_t size) { | 124 static void set_compressed_class_space_size(size_t size) { |
124 _compressed_class_space_size = size; | 125 _compressed_class_space_size = size; |
125 } | 126 } |
126 | 127 |
127 static size_t _first_chunk_word_size; | 128 static size_t _first_chunk_word_size; |
223 void deallocate(MetaWord* ptr, size_t byte_size, bool is_class); | 224 void deallocate(MetaWord* ptr, size_t byte_size, bool is_class); |
224 | 225 |
225 MetaWord* expand_and_allocate(size_t size, | 226 MetaWord* expand_and_allocate(size_t size, |
226 MetadataType mdtype); | 227 MetadataType mdtype); |
227 | 228 |
228 static bool contains(const void *ptr); | 229 bool contains(const void* ptr); |
229 void dump(outputStream* const out) const; | 230 void dump(outputStream* const out) const; |
230 | 231 |
231 // Free empty virtualspaces | 232 // Free empty virtualspaces |
232 static void purge(MetadataType mdtype); | 233 static void purge(MetadataType mdtype); |
233 static void purge(); | 234 static void purge(); |