Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8240819: Assign a name to the JfrThreadSampler thread
Reviewed-by: mgronlun
  • Loading branch information
stefank committed Mar 19, 2020
1 parent e2947fe commit b4e85913bffc9d2510befb7c560a46e6a489bf4c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp
@@ -339,6 +339,7 @@ class JfrThreadSampler : public NonJavaThread {
protected:
virtual void post_run();
public:
virtual char* name() const { return (char*)"JFR Thread Sampler"; }
void run();
static Monitor* transition_block() { return JfrThreadSampler_lock; }
static void on_javathread_suspend(JavaThread* thread);

0 comments on commit b4e8591

Please sign in to comment.