equal
deleted
inserted
replaced
507 } else { |
507 } else { |
508 return claim_oops_do_par_case(collection_parity); |
508 return claim_oops_do_par_case(collection_parity); |
509 } |
509 } |
510 } |
510 } |
511 |
511 |
512 // Sweeper support |
|
513 void nmethods_do(CodeBlobClosure* cf); |
|
514 |
|
515 // jvmtiRedefineClasses support |
512 // jvmtiRedefineClasses support |
516 void metadata_handles_do(void f(Metadata*)); |
513 void metadata_handles_do(void f(Metadata*)); |
517 |
514 |
518 // Used by fast lock support |
515 // Used by fast lock support |
519 virtual bool is_lock_owned(address adr) const; |
516 virtual bool is_lock_owned(address adr) const; |
1647 |
1644 |
1648 // Memory operations |
1645 // Memory operations |
1649 void oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf); |
1646 void oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf); |
1650 |
1647 |
1651 // Sweeper operations |
1648 // Sweeper operations |
1652 void nmethods_do(CodeBlobClosure* cf); |
1649 virtual void nmethods_do(CodeBlobClosure* cf); |
1653 |
1650 |
1654 // RedefineClasses Support |
1651 // RedefineClasses Support |
1655 void metadata_do(void f(Metadata*)); |
1652 void metadata_do(void f(Metadata*)); |
1656 |
1653 |
1657 // Misc. operations |
1654 // Misc. operations |
1995 |
1992 |
1996 // Hide sweeper thread from external view. |
1993 // Hide sweeper thread from external view. |
1997 bool is_hidden_from_external_view() const { return true; } |
1994 bool is_hidden_from_external_view() const { return true; } |
1998 |
1995 |
1999 bool is_Code_cache_sweeper_thread() const { return true; } |
1996 bool is_Code_cache_sweeper_thread() const { return true; } |
2000 // GC support |
1997 |
2001 // Apply "f->do_oop" to all root oops in "this". |
1998 // Prevent GC from unloading _scanned_nmethod |
2002 // Apply "cf->do_code_blob" (if !NULL) to all code blobs active in frames |
|
2003 void oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf); |
1999 void oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf); |
|
2000 void nmethods_do(CodeBlobClosure* cf); |
2004 }; |
2001 }; |
2005 |
2002 |
2006 // A thread used for Compilation. |
2003 // A thread used for Compilation. |
2007 class CompilerThread : public JavaThread { |
2004 class CompilerThread : public JavaThread { |
2008 friend class VMStructs; |
2005 friend class VMStructs; |