diff src/share/vm/classfile/symbolTable.hpp @ 10408:836a62f43af9

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Wed, 19 Jun 2013 10:45:56 +0200
parents 8dbc025ff709
children 01522ca68fc7
line wrap: on
line diff
--- a/src/share/vm/classfile/symbolTable.hpp	Tue Jun 18 14:23:29 2013 -0700
+++ b/src/share/vm/classfile/symbolTable.hpp	Wed Jun 19 10:45:56 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);