< prev index next >

src/share/vm/gc/shared/collectedHeap.hpp

Print this page
rev 13280 : imported patch CollectedHeap_register_nmethod
rev 13281 : [mq]: CollectedHeap_register_nmethod_v2

@@ -391,12 +391,10 @@
   // The amount of used space for thread-local allocation buffers for the given thread.
   virtual size_t tlab_used(Thread *thr) const = 0;
 
   virtual size_t max_tlab_size() const;
 
-  virtual void verify_nmethod_roots(nmethod* nmethod);
-
   // An estimate of the maximum allocation that could be performed
   // for thread-local allocation buffers without triggering any
   // collection or expansion activity.
   virtual size_t unsafe_max_tlab_alloc(Thread *thr) const {
     guarantee(false, "thread-local allocation buffers not supported");

@@ -571,10 +569,11 @@
 
   // Registering and unregistering an nmethod (compiled code) with the heap.
   // Override with specific mechanism for each specialized heap type.
   virtual void register_nmethod(nmethod* nm);
   virtual void unregister_nmethod(nmethod* nm);
+  virtual void verify_nmethod_roots(nmethod* nmethod);
 
   void trace_heap_before_gc(const GCTracer* gc_tracer);
   void trace_heap_after_gc(const GCTracer* gc_tracer);
 
   // Heap verification
< prev index next >