1.1 --- a/src/share/vm/runtime/frame.hpp Thu Jan 26 09:38:28 2012 +0100 1.2 +++ b/src/share/vm/runtime/frame.hpp Thu Jan 26 16:49:22 2012 +0100 1.3 @@ -494,7 +494,7 @@ 1.4 1.5 }; 1.6 1.7 -#ifdef ASSERT 1.8 +#ifndef PRODUCT 1.9 // A simple class to describe a location on the stack 1.10 class FrameValue VALUE_OBJ_CLASS_SPEC { 1.11 public: 1.12 @@ -524,7 +524,9 @@ 1.13 // Used by frame functions to describe locations. 1.14 void describe(int owner, intptr_t* location, const char* description, int priority = 0); 1.15 1.16 +#ifdef ASSERT 1.17 void validate(); 1.18 +#endif 1.19 void print(JavaThread* thread); 1.20 }; 1.21