diff src/share/vm/utilities/globalDefinitions.hpp @ 361:a4f9ef0c0375

6743059: Error in spaceDecorator.cpp "optimized" build. Summary: Changed the guard on the definition of the method value in HeapWord from ASSERT to not PRODUCT. Reviewed-by: iveresov, apetrusenko
author jmasa
date Thu, 04 Sep 2008 14:49:08 -0700
parents 850fdf70db2b
children 2328d1d3f8cf 7628781568e1
line wrap: on
line diff
--- a/src/share/vm/utilities/globalDefinitions.hpp	Wed Aug 27 11:20:46 2008 -0700
+++ b/src/share/vm/utilities/globalDefinitions.hpp	Thu Sep 04 14:49:08 2008 -0700
@@ -99,7 +99,7 @@
   friend class VMStructs;
  private:
   char* i;
-#ifdef ASSERT
+#ifndef PRODUCT
  public:
   char* value() { return i; }
 #endif