Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/frame_sparc.cpp @ 12316:190899198332
7195622: CheckUnhandledOops has limited usefulness now
Summary: Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
Contributed-by: lois.foltan@oracle.com
author | hseigel |
---|---|
date | Thu, 26 Sep 2013 10:25:02 -0400 |
parents | acfa2cc19146 |
children | d3f14809b051 f43fad8786fc |
comparison
equal
deleted
inserted
replaced
12315:c1fbf21c7397 | 12316:190899198332 |
---|---|
762 case T_OBJECT: | 762 case T_OBJECT: |
763 case T_ARRAY: { | 763 case T_ARRAY: { |
764 #ifdef CC_INTERP | 764 #ifdef CC_INTERP |
765 *oop_result = istate->_oop_temp; | 765 *oop_result = istate->_oop_temp; |
766 #else | 766 #else |
767 oop obj = (oop) at(interpreter_frame_oop_temp_offset); | 767 oop obj = cast_to_oop(at(interpreter_frame_oop_temp_offset)); |
768 assert(obj == NULL || Universe::heap()->is_in(obj), "sanity check"); | 768 assert(obj == NULL || Universe::heap()->is_in(obj), "sanity check"); |
769 *oop_result = obj; | 769 *oop_result = obj; |
770 #endif // CC_INTERP | 770 #endif // CC_INTERP |
771 break; | 771 break; |
772 } | 772 } |
786 intptr_t* tos_addr = interpreter_frame_tos_address(); | 786 intptr_t* tos_addr = interpreter_frame_tos_address(); |
787 | 787 |
788 switch(type) { | 788 switch(type) { |
789 case T_OBJECT: | 789 case T_OBJECT: |
790 case T_ARRAY: { | 790 case T_ARRAY: { |
791 oop obj = (oop)*tos_addr; | 791 oop obj = cast_to_oop(*tos_addr); |
792 assert(obj == NULL || Universe::heap()->is_in(obj), "sanity check"); | 792 assert(obj == NULL || Universe::heap()->is_in(obj), "sanity check"); |
793 *oop_result = obj; | 793 *oop_result = obj; |
794 break; | 794 break; |
795 } | 795 } |
796 case T_BOOLEAN : { jint* p = (jint*)tos_addr; value_result->z = (jboolean)((*p) & 0x1); break; } | 796 case T_BOOLEAN : { jint* p = (jint*)tos_addr; value_result->z = (jboolean)((*p) & 0x1); break; } |