hotspot/src/share/vm/gc_implementation/g1/ptrQueue.hpp
changeset 20403 45a89fbcd8f7
parent 20011 d74937287461
child 22234 da823d78ad65
--- a/hotspot/src/share/vm/gc_implementation/g1/ptrQueue.hpp	Fri Oct 04 13:33:02 2013 +0200
+++ b/hotspot/src/share/vm/gc_implementation/g1/ptrQueue.hpp	Tue Oct 08 17:35:51 2013 +0200
@@ -80,6 +80,10 @@
 
   void reset() { if (_buf != NULL) _index = _sz; }
 
+  void enqueue(volatile void* ptr) {
+    enqueue((void*)(ptr));
+  }
+
   // Enqueues the given "obj".
   void enqueue(void* ptr) {
     if (!_active) return;