diff src/share/vm/memory/genOopClosures.hpp @ 845:df6caf649ff7

6700789: G1: Enable use of compressed oops with G1 heaps Summary: Modifications to G1 so as to allow the use of compressed oops. Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
author ysr
date Tue, 14 Jul 2009 15:40:39 -0700
parents 1ee8caae33af
children 2a1472c30599
line wrap: on
line diff
--- a/src/share/vm/memory/genOopClosures.hpp	Fri Jul 10 16:01:20 2009 -0700
+++ b/src/share/vm/memory/genOopClosures.hpp	Tue Jul 14 15:40:39 2009 -0700
@@ -57,7 +57,7 @@
   template <class T> void do_barrier(T* p);
 
   // Version for use by closures that may be called in parallel code.
-  void par_do_barrier(oop* p);
+  template <class T> void par_do_barrier(T* p);
 
  public:
   OopsInGenClosure() : OopClosure(NULL),