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