equal
deleted
inserted
replaced
211 // Release any dead symbols, possibly parallel version |
211 // Release any dead symbols, possibly parallel version |
212 static void possibly_parallel_unlink(int* processed, int* removed); |
212 static void possibly_parallel_unlink(int* processed, int* removed); |
213 |
213 |
214 // iterate over symbols |
214 // iterate over symbols |
215 static void symbols_do(SymbolClosure *cl); |
215 static void symbols_do(SymbolClosure *cl); |
|
216 static void metaspace_pointers_do(MetaspaceClosure* it); |
216 |
217 |
217 // Symbol creation |
218 // Symbol creation |
218 static Symbol* new_symbol(const char* utf8_buffer, int length, TRAPS) { |
219 static Symbol* new_symbol(const char* utf8_buffer, int length, TRAPS) { |
219 assert(utf8_buffer != NULL, "just checking"); |
220 assert(utf8_buffer != NULL, "just checking"); |
220 return lookup(utf8_buffer, length, THREAD); |
221 return lookup(utf8_buffer, length, THREAD); |
253 static void verify(); |
254 static void verify(); |
254 static void dump(outputStream* st, bool verbose=false); |
255 static void dump(outputStream* st, bool verbose=false); |
255 static void read(const char* filename, TRAPS); |
256 static void read(const char* filename, TRAPS); |
256 |
257 |
257 // Sharing |
258 // Sharing |
|
259 static void write_to_archive(); |
258 static void serialize(SerializeClosure* soc); |
260 static void serialize(SerializeClosure* soc); |
259 static u4 encode_shared(Symbol* sym); |
261 static u4 encode_shared(Symbol* sym); |
260 static Symbol* decode_shared(u4 offset); |
262 static Symbol* decode_shared(u4 offset); |
261 |
263 |
262 // Rehash the symbol table if it gets out of balance |
264 // Rehash the symbol table if it gets out of balance |