--- a/src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp Tue May 21 13:06:52 2019 -0400
+++ b/src/hotspot/share/jfr/recorder/storage/jfrBuffer.hpp Tue May 21 20:53:27 2019 +0200
@@ -57,7 +57,6 @@
u4 _size;
const u1* stable_top() const;
- void clear_flags();
public:
JfrBuffer();
@@ -150,6 +149,8 @@
void acquire(const void* id);
bool try_acquire(const void* id);
+ bool acquired_by(const void* id) const;
+ bool acquired_by_self() const;
void release();
void move(JfrBuffer* const to, size_t size);
@@ -166,8 +167,6 @@
bool retired() const;
void set_retired();
void clear_retired();
-
- debug_only(bool acquired_by_self() const;)
};
class JfrAgeNode : public JfrBuffer {