6743059: Error in spaceDecorator.cpp "optimized" build.
authorjmasa
Thu, 04 Sep 2008 14:49:08 -0700
changeset 1393 614996a6c018
parent 1392 b376216cba95
child 1394 43b4b8b54e65
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
hotspot/src/share/vm/utilities/globalDefinitions.hpp
--- a/hotspot/src/share/vm/utilities/globalDefinitions.hpp	Wed Aug 27 11:20:46 2008 -0700
+++ b/hotspot/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