hotspot/src/share/vm/classfile/symbolTable.hpp
changeset 17846 68ef5934c097
parent 16601 7c6db0c8952f
child 18091 ddde9f0f414d
--- 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);