1.1 --- a/src/share/vm/jfr/recorder/storage/jfrBuffer.hpp Mon Jun 15 20:21:56 2020 +0100 1.2 +++ b/src/share/vm/jfr/recorder/storage/jfrBuffer.hpp Wed Jun 17 11:43:05 2020 +0300 1.3 @@ -57,7 +57,6 @@ 1.4 u4 _size; 1.5 1.6 const u1* stable_top() const; 1.7 - void clear_flags(); 1.8 1.9 public: 1.10 JfrBuffer(); 1.11 @@ -150,6 +149,8 @@ 1.12 1.13 void acquire(const void* id); 1.14 bool try_acquire(const void* id); 1.15 + bool acquired_by(const void* id) const; 1.16 + bool acquired_by_self() const; 1.17 void release(); 1.18 1.19 void move(JfrBuffer* const to, size_t size); 1.20 @@ -166,8 +167,6 @@ 1.21 bool retired() const; 1.22 void set_retired(); 1.23 void clear_retired(); 1.24 - 1.25 - debug_only(bool acquired_by_self() const;) 1.26 }; 1.27 1.28 class JfrAgeNode : public JfrBuffer {