135 static void new_symbols(ClassLoaderData* loader_data, |
135 static void new_symbols(ClassLoaderData* loader_data, |
136 const constantPoolHandle& cp, int names_count, |
136 const constantPoolHandle& cp, int names_count, |
137 const char** name, int* lengths, |
137 const char** name, int* lengths, |
138 int* cp_indices, unsigned int* hashValues); |
138 int* cp_indices, unsigned int* hashValues); |
139 |
139 |
140 static Symbol* lookup_shared(const char* name, int len, unsigned int hash); |
140 static Symbol* lookup_shared(const char* name, int len, unsigned int hash) NOT_CDS_RETURN_(NULL); |
141 static Symbol* lookup_dynamic(const char* name, int len, unsigned int hash); |
141 static Symbol* lookup_dynamic(const char* name, int len, unsigned int hash); |
142 static Symbol* lookup_common(const char* name, int len, unsigned int hash); |
142 static Symbol* lookup_common(const char* name, int len, unsigned int hash); |
143 |
143 |
144 // Arena for permanent symbols (null class loader) that are never unloaded |
144 // Arena for permanent symbols (null class loader) that are never unloaded |
145 static Arena* _arena; |
145 static Arena* _arena; |
207 |
207 |
208 // Sharing |
208 // Sharing |
209 private: |
209 private: |
210 static void copy_shared_symbol_table(CompactHashtableWriter* ch_table); |
210 static void copy_shared_symbol_table(CompactHashtableWriter* ch_table); |
211 public: |
211 public: |
212 static void write_to_archive() NOT_CDS_RETURN; |
212 static size_t estimate_size_for_archive() NOT_CDS_RETURN_(0); |
213 static void serialize_shared_table_header(SerializeClosure* soc) NOT_CDS_RETURN; |
213 static void write_to_archive(bool is_static_archive = true) NOT_CDS_RETURN; |
|
214 static void serialize_shared_table_header(SerializeClosure* soc, |
|
215 bool is_static_archive = true) NOT_CDS_RETURN; |
214 static void metaspace_pointers_do(MetaspaceClosure* it); |
216 static void metaspace_pointers_do(MetaspaceClosure* it); |
215 |
217 |
216 // Jcmd |
218 // Jcmd |
217 static void dump(outputStream* st, bool verbose=false); |
219 static void dump(outputStream* st, bool verbose=false); |
218 // Debugging |
220 // Debugging |