hotspot/src/share/vm/runtime/frame.hpp
changeset 11571 23f825a42a85
parent 11486 cdc636532368
child 13391 30245956af37
--- a/hotspot/src/share/vm/runtime/frame.hpp	Thu Jan 26 09:38:28 2012 +0100
+++ b/hotspot/src/share/vm/runtime/frame.hpp	Thu Jan 26 16:49:22 2012 +0100
@@ -494,7 +494,7 @@
 
 };
 
-#ifdef ASSERT
+#ifndef PRODUCT
 // A simple class to describe a location on the stack
 class FrameValue VALUE_OBJ_CLASS_SPEC {
  public:
@@ -524,7 +524,9 @@
   // Used by frame functions to describe locations.
   void describe(int owner, intptr_t* location, const char* description, int priority = 0);
 
+#ifdef ASSERT
   void validate();
+#endif
   void print(JavaThread* thread);
 };