comparison src/share/vm/services/memRecorder.hpp @ 6607:e5bf1c79ed5b

7191124: Optimized build is broken due to inconsistent use of DEBUG_ONLY and NOT_PRODUCT macros in NMT Summary: Updated all related variables and methods to use NOT_PRODUCT macros Reviewed-by: coleenp, acorn, kvn
author zgu
date Tue, 14 Aug 2012 13:56:46 -0400
parents 7e5976e66c62
children 716c64bda5ba
comparison
equal deleted inserted replaced
6606:98625323d3a3 6607:e5bf1c79ed5b
71 // instance size 71 // instance size
72 inline size_t instance_size() const { 72 inline size_t instance_size() const {
73 return sizeof(FixedSizeMemPointerArray<E, SIZE>); 73 return sizeof(FixedSizeMemPointerArray<E, SIZE>);
74 } 74 }
75 75
76 debug_only(int capacity() const { return SIZE; }) 76 NOT_PRODUCT(int capacity() const { return SIZE; })
77 77
78 public: 78 public:
79 // implementation of public interface 79 // implementation of public interface
80 bool out_of_memory() const { return false; } 80 bool out_of_memory() const { return false; }
81 bool is_empty() const { return _size == 0; } 81 bool is_empty() const { return _size == 0; }