< prev index next >

src/share/vm/runtime/thread.hpp

Print this page

        

@@ -1995,14 +1995,14 @@
 
   // Hide sweeper thread from external view.
   bool is_hidden_from_external_view() const { return true; }
 
   bool is_Code_cache_sweeper_thread() const { return true; }
-  // GC support
-  // Apply "f->do_oop" to all root oops in "this".
-  // Apply "cf->do_code_blob" (if !NULL) to all code blobs active in frames
+
+  // Prevent GC from unloading _scanned_nmethod
   void oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf);
+  void nmethods_do(CodeBlobClosure* cf);
 };
 
 // A thread used for Compilation.
 class CompilerThread : public JavaThread {
   friend class VMStructs;
< prev index next >