diff 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
line wrap: on
line diff
--- a/src/share/vm/services/memRecorder.hpp	Fri Aug 10 23:16:52 2012 -0700
+++ b/src/share/vm/services/memRecorder.hpp	Tue Aug 14 13:56:46 2012 -0400
@@ -73,7 +73,7 @@
     return sizeof(FixedSizeMemPointerArray<E, SIZE>);
   }
 
-  debug_only(int capacity() const { return SIZE; })
+  NOT_PRODUCT(int capacity() const { return SIZE; })
 
  public:
   // implementation of public interface