changeset 364: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 5d254928c888
children f8199438385b
files src/share/vm/utilities/globalDefinitions.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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