diff src/share/vm/services/memPtrArray.hpp @ 6646:c38f13903fdf

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/ just before the NPG (no perm gen) changeset
author Doug Simon <doug.simon@oracle.com>
date Mon, 29 Oct 2012 21:10:04 +0100
parents e5bf1c79ed5b
children 33143ee07800
line wrap: on
line diff
--- a/src/share/vm/services/memPtrArray.hpp	Mon Oct 29 20:02:54 2012 +0100
+++ b/src/share/vm/services/memPtrArray.hpp	Mon Oct 29 21:10:04 2012 +0100
@@ -59,7 +59,7 @@
   virtual size_t instance_size() const = 0;
   virtual bool shrink() = 0;
 
-  debug_only(virtual int capacity() const = 0;)
+  NOT_PRODUCT(virtual int capacity() const = 0;)
 };
 
 // Iterator interface
@@ -205,7 +205,7 @@
     return _size;
   }
 
-  debug_only(int capacity() const { return _max_size; })
+  NOT_PRODUCT(int capacity() const { return _max_size; })
 
   void clear() {
     assert(_data != NULL, "Just check");