< prev index next >

src/hotspot/share/runtime/vmThread.hpp

Print this page

        

@@ -69,11 +69,11 @@
 
  public:
   VMOperationQueue();
 
   // Highlevel operations. Encapsulates policy
-  void add(VM_Operation *op);
+  bool add(VM_Operation *op);
   VM_Operation* remove_next();                        // Returns next or null
   VM_Operation* remove_next_at_safepoint_priority()   { return queue_remove_front(SafepointPriority); }
   VM_Operation* drain_at_safepoint_priority() { return queue_drain(SafepointPriority); }
   void set_drain_list(VM_Operation* list) { _drain_list = list; }
   bool peek_at_safepoint_priority() { return queue_peek(SafepointPriority); }
< prev index next >