270 _the_table = new StringTable(); |
270 _the_table = new StringTable(); |
271 } |
271 } |
272 |
272 |
273 // GC support |
273 // GC support |
274 // Delete pointers to otherwise-unreachable objects. |
274 // Delete pointers to otherwise-unreachable objects. |
275 static void unlink(BoolObjectClosure* cl); |
275 static void unlink_or_oops_do(BoolObjectClosure* cl, OopClosure* f); |
|
276 static void unlink(BoolObjectClosure* cl) { |
|
277 unlink_or_oops_do(cl, NULL); |
|
278 } |
276 |
279 |
277 // Invoke "f->do_oop" on the locations of all oops in the table. |
280 // Invoke "f->do_oop" on the locations of all oops in the table. |
278 static void oops_do(OopClosure* f); |
281 static void oops_do(OopClosure* f); |
279 |
282 |
280 // Hashing algorithm, used as the hash value used by the |
283 // Hashing algorithm, used as the hash value used by the |