217 static G1StringDedupTable* prepare_resize();
218
219 // Installs a newly resized table as the currently active table
220 // and deletes the previously active table.
221 static void finish_resize(G1StringDedupTable* resized_table);
222
223 // If a table rehash is needed, returns a newly allocated empty
224 // hashtable and updates the hash seed.
225 static G1StringDedupTable* prepare_rehash();
226
227 // Transfers rehashed entries from the currently active table into
228 // the new table. Installs the new table as the currently active table
229 // and deletes the previously active table.
230 static void finish_rehash(G1StringDedupTable* rehashed_table);
231
232 // If the table entry cache has grown too large, trim it down according to policy
233 static void trim_entry_cache();
234
235 static void unlink_or_oops_do(G1StringDedupUnlinkOrOopsDoClosure* cl, uint worker_id);
236
237 static void print_statistics(outputStream* st);
238 static void verify();
239 };
240
241 #endif // SHARE_VM_GC_G1_G1STRINGDEDUPTABLE_HPP
|
217 static G1StringDedupTable* prepare_resize();
218
219 // Installs a newly resized table as the currently active table
220 // and deletes the previously active table.
221 static void finish_resize(G1StringDedupTable* resized_table);
222
223 // If a table rehash is needed, returns a newly allocated empty
224 // hashtable and updates the hash seed.
225 static G1StringDedupTable* prepare_rehash();
226
227 // Transfers rehashed entries from the currently active table into
228 // the new table. Installs the new table as the currently active table
229 // and deletes the previously active table.
230 static void finish_rehash(G1StringDedupTable* rehashed_table);
231
232 // If the table entry cache has grown too large, trim it down according to policy
233 static void trim_entry_cache();
234
235 static void unlink_or_oops_do(G1StringDedupUnlinkOrOopsDoClosure* cl, uint worker_id);
236
237 static void print_statistics();
238 static void verify();
239 };
240
241 #endif // SHARE_VM_GC_G1_G1STRINGDEDUPTABLE_HPP
|