Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
4823:9a28ddfc1f4a | 4824:5dbed2f542ff |
---|---|
492 # include "frame_ppc.hpp" | 492 # include "frame_ppc.hpp" |
493 #endif | 493 #endif |
494 | 494 |
495 }; | 495 }; |
496 | 496 |
497 #ifdef ASSERT | 497 #ifndef PRODUCT |
498 // A simple class to describe a location on the stack | 498 // A simple class to describe a location on the stack |
499 class FrameValue VALUE_OBJ_CLASS_SPEC { | 499 class FrameValue VALUE_OBJ_CLASS_SPEC { |
500 public: | 500 public: |
501 intptr_t* location; | 501 intptr_t* location; |
502 char* description; | 502 char* description; |
522 | 522 |
523 public: | 523 public: |
524 // Used by frame functions to describe locations. | 524 // Used by frame functions to describe locations. |
525 void describe(int owner, intptr_t* location, const char* description, int priority = 0); | 525 void describe(int owner, intptr_t* location, const char* description, int priority = 0); |
526 | 526 |
527 #ifdef ASSERT | |
527 void validate(); | 528 void validate(); |
529 #endif | |
528 void print(JavaThread* thread); | 530 void print(JavaThread* thread); |
529 }; | 531 }; |
530 | 532 |
531 #endif | 533 #endif |
532 | 534 |