src/hotspot/share/jfr/recorder/storage/jfrStorageUtils.hpp
branchJEP-349-branch
changeset 58154 060d9d139109
parent 57360 5d043a159d5c
parent 54964 ec7d6d8effc7
child 58254 a6ccade6b295
--- 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 {