--- a/hotspot/src/share/vm/classfile/symbolTable.hpp Mon May 27 12:56:34 2013 +0200
+++ b/hotspot/src/share/vm/classfile/symbolTable.hpp Mon May 27 12:58:42 2013 +0200
@@ -272,7 +272,10 @@
// GC support
// Delete pointers to otherwise-unreachable objects.
- static void unlink(BoolObjectClosure* cl);
+ static void unlink_or_oops_do(BoolObjectClosure* cl, OopClosure* f);
+ static void unlink(BoolObjectClosure* cl) {
+ unlink_or_oops_do(cl, NULL);
+ }
// Invoke "f->do_oop" on the locations of all oops in the table.
static void oops_do(OopClosure* f);