aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/services/memRecorder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/services/memRecorder.hpp')
-rw-r--r--src/share/vm/services/memRecorder.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/services/memRecorder.hpp b/src/share/vm/services/memRecorder.hpp
index 313af97db..754cbd6c3 100644
--- a/src/share/vm/services/memRecorder.hpp
+++ b/src/share/vm/services/memRecorder.hpp
@@ -73,7 +73,7 @@ template <class E, int SIZE> class FixedSizeMemPointerArray :
return sizeof(FixedSizeMemPointerArray<E, SIZE>);
}
- debug_only(int capacity() const { return SIZE; })
+ NOT_PRODUCT(int capacity() const { return SIZE; })
public:
// implementation of public interface