From 81e7d712d3fa06320535548d9839fafa952e40d3 Mon Sep 17 00:00:00 2001 From: jmasa Date: Thu, 4 Sep 2008 14:49:08 -0700 Subject: [PATCH] 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 --- src/share/vm/utilities/globalDefinitions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/vm/utilities/globalDefinitions.hpp b/src/share/vm/utilities/globalDefinitions.hpp index 258a70f01..f87bfad69 100644 --- a/src/share/vm/utilities/globalDefinitions.hpp +++ b/src/share/vm/utilities/globalDefinitions.hpp @@ -99,7 +99,7 @@ class HeapWord { friend class VMStructs; private: char* i; -#ifdef ASSERT +#ifndef PRODUCT public: char* value() { return i; } #endif -- GitLab