1.1 --- a/src/share/vm/jfr/leakprofiler/checkpoint/objectSampleWriter.hpp Fri Sep 27 13:23:32 2019 +0800 1.2 +++ b/src/share/vm/jfr/leakprofiler/checkpoint/objectSampleWriter.hpp Wed Oct 09 16:11:58 2019 +0800 1.3 @@ -30,21 +30,17 @@ 1.4 class Edge; 1.5 class EdgeStore; 1.6 class JfrCheckpointWriter; 1.7 -class RoutableEdge; 1.8 +class StoredEdge; 1.9 1.10 class ObjectSampleWriter : public StackObj { 1.11 private: 1.12 JfrCheckpointWriter& _writer; 1.13 - const EdgeStore* const _store; 1.14 - 1.15 - void write(const RoutableEdge* edge); 1.16 - void write_chain(const RoutableEdge& edge); 1.17 - 1.18 + EdgeStore* const _store; 1.19 + void write(const StoredEdge* edge); 1.20 public: 1.21 - ObjectSampleWriter(JfrCheckpointWriter& writer, const EdgeStore* store); 1.22 + ObjectSampleWriter(JfrCheckpointWriter& writer, EdgeStore* store); 1.23 ~ObjectSampleWriter(); 1.24 - 1.25 - bool operator()(const RoutableEdge& edge); 1.26 + bool operator()(StoredEdge& edge); 1.27 }; 1.28 1.29 #endif // SHARE_VM_LEAKPROFILER_CHECKPOINT_OBJECTSAMPLEWRITER_HPP