src/share/vm/classfile/symbolTable.hpp

changeset 5196
8dbc025ff709
parent 4850
ede380e13960
child 5277
01522ca68fc7
equal deleted inserted replaced
5195:95c00927be11 5196:8dbc025ff709
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

mercurial