< prev index next >

src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.hpp

Print this page
@@ -28,11 +28,10 @@
  #include "memory/allocation.hpp"
  #include "jfr/utilities/jfrTypes.hpp"
  
  class EdgeStore;
  class InstanceKlass;
- class JavaThread;
  class JfrCheckpointWriter;
  class JfrStackTrace;
  class Klass;
  class ObjectSample;
  class ObjectSampleMarker;

@@ -51,10 +50,10 @@
    static void write(const ObjectSampler* sampler, EdgeStore* edge_store, bool emit_all, Thread* thread);
    static void clear();
   public:
    static void on_type_set(JfrCheckpointWriter& writer);
    static void on_type_set_unload(JfrCheckpointWriter& writer);
-   static void on_thread_exit(JavaThread* jt);
+   static void on_thread_exit(traceid tid);
    static void on_rotation(const ObjectSampler* sampler);
  };
  
  #endif // SHARE_JFR_LEAKPROFILER_CHECKPOINT_OBJECTSAMPLECHECKPOINT_HPP
< prev index next >