--- a/src/hotspot/share/jfr/recorder/storage/jfrStorageUtils.hpp Thu Sep 12 11:35:02 2019 +0200
+++ b/src/hotspot/share/jfr/recorder/storage/jfrStorageUtils.hpp Sat Sep 14 13:03:44 2019 +0200
@@ -114,12 +114,12 @@
};
template <typename Operation>
-class ExclusiveOp : public MutexedWriteOp<Operation> {
+class ExclusiveOp : private MutexedWriteOp<Operation> {
public:
typedef typename Operation::Type Type;
ExclusiveOp(Operation& operation) : MutexedWriteOp<Operation>(operation) {}
bool process(Type* t);
- size_t size() const { return MutexedWriteOp<Operation>::size(); }
+ size_t processed() const { return MutexedWriteOp<Operation>::processed(); }
};
enum jfr_operation_mode {