Mercurial > hg > truffle
diff src/share/vm/runtime/frame.hpp @ 4824:5dbed2f542ff
7120468: SPARC/x86: use frame::describe to enhance trace_method_handle
Summary: improvements of TraceMethodHandles for JSR292
Reviewed-by: never, twisti
author | bdelsart |
---|---|
date | Thu, 26 Jan 2012 16:49:22 +0100 |
parents | eaa9557116a2 |
children | 33df1aeaebbf 1d7922586cf6 |
line wrap: on
line diff
--- a/src/share/vm/runtime/frame.hpp Thu Jan 26 09:38:28 2012 +0100 +++ b/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); };