diff -r 123705b84980 -r 1b2d0f4c1e38 src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.hpp --- a/src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.hpp Thu Aug 29 13:08:13 2019 +0200 +++ b/src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleCheckpoint.hpp Thu Aug 29 14:05:01 2019 +0200 @@ -46,7 +46,7 @@ static void on_rotation(ObjectSampler* sampler, JfrStackTraceRepository& repo); static bool tag(const JfrStackTrace* trace, JfrCheckpointWriter* writer = NULL); static int save_mark_words(const ObjectSampler* sampler, ObjectSampleMarker& marker, bool emit_all); - static void write(const ObjectSampler* sampler, EdgeStore* edge_store, bool emit_all, Thread* thread); + static void write(ObjectSampler* sampler, EdgeStore* edge_store, bool emit_all, Thread* thread); }; #endif // SHARE_JFR_LEAKPROFILER_CHECKPOINT_OBJECTSAMPLECHECKPOINT_HPP