Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8264178: Unused method Threads::nmethods_do #3199

wants to merge 1 commit into from
Changes from all commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.


Just for now

@@ -3943,17 +3943,6 @@ void Threads::possibly_parallel_oops_do(bool is_par, OopClosure* f, CodeBlobClos
possibly_parallel_threads_do(is_par, &tc);

void Threads::nmethods_do(CodeBlobClosure* cf) {
// This is used by the code cache sweeper to mark nmethods that are active
// on the stack of a Java thread. Ignore the sweeper thread itself to avoid
// marking CodeCacheSweeperThread::_scanned_compiled_method as active.
if(!p->is_Code_cache_sweeper_thread()) {

void Threads::metadata_do(MetadataClosure* f) {
@@ -1828,9 +1828,6 @@ class Threads: AllStatic {
// This version may be called by sequential or parallel code.
static void possibly_parallel_oops_do(bool is_par, OopClosure* f, CodeBlobClosure* cf);

// Sweeper
static void nmethods_do(CodeBlobClosure* cf);

// RedefineClasses support
static void metadata_do(MetadataClosure* f);
static void metadata_handles_do(void f(Metadata*));
ProTip! Use n and p to navigate between commits in a pull request.