src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.hpp
branchJEP-349-branch
changeset 57990 b08487c6eb4d
parent 57983 a57907813a83
child 57993 dc5746ce3b92
--- a/src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.hpp	Tue Sep 03 13:31:54 2019 +0200
+++ b/src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.hpp	Tue Sep 03 14:05:01 2019 +0200
@@ -28,12 +28,12 @@
 #include "memory/allocation.hpp"
 
 class EdgeStore;
-class Klass;
 class JavaThread;
 class JfrCheckpointWriter;
-class JfrStackFrame;
 class JfrStackTrace;
 class JfrStackTraceRepository;
+class Klass;
+class Method;
 class ObjectSample;
 class ObjectSampleMarker;
 class ObjectSampler;
@@ -44,8 +44,8 @@
   friend class PathToGcRootsOperation;
   friend class StackTraceBlobInstaller;
  private:
+  static void add_to_leakp_set(const Method* method, traceid method_id);
   static int save_mark_words(const ObjectSampler* sampler, ObjectSampleMarker& marker, bool emit_all);
-  static void tag(const JfrStackFrame& frame, traceid method_id);
   static void write_stacktrace(const JfrStackTrace* trace, JfrCheckpointWriter& writer);
   static void write(ObjectSampler* sampler, EdgeStore* edge_store, bool emit_all, Thread* thread);
  public:
@@ -57,3 +57,4 @@
 };
 
 #endif // SHARE_JFR_LEAKPROFILER_CHECKPOINT_OBJECTSAMPLECHECKPOINT_HPP
+