Skip to content

Commit

Permalink
8305165: [8u] ServiceThread::nmethods_do is not called to keep nmetho…
Browse files Browse the repository at this point in the history
…ds from being zombied while in the queue

Reviewed-by: phh
  • Loading branch information
Joshua Zhu authored and Paul Hohensee committed Apr 25, 2023
1 parent 7878655 commit 3147b1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hotspot/src/share/vm/runtime/thread.hpp
Expand Up @@ -508,7 +508,7 @@ class Thread: public ThreadShadow {
}

// Sweeper support
void nmethods_do(CodeBlobClosure* cf);
virtual void nmethods_do(CodeBlobClosure* cf);

// jvmtiRedefineClasses support
void metadata_do(void f(Metadata*));
Expand Down Expand Up @@ -1450,10 +1450,10 @@ class JavaThread: public Thread {
void frames_do(void f(frame*, const RegisterMap*));

// Memory operations
void oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf);
virtual void oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf);

// Sweeper operations
void nmethods_do(CodeBlobClosure* cf);
virtual void nmethods_do(CodeBlobClosure* cf);

// RedefineClasses Support
void metadata_do(void f(Metadata*));
Expand Down

1 comment on commit 3147b1b

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.