Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1/c1_Runtime1.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 | b2e698d2276c |
children | d0cfa6502dfe |
comparison
equal
deleted
inserted
replaced
12315:c1fbf21c7397 | 12316:190899198332 |
---|---|
1017 if (stub_id == Runtime1::load_klass_patching_id) { | 1017 if (stub_id == Runtime1::load_klass_patching_id) { |
1018 assert(load_klass() != NULL, "klass not set"); | 1018 assert(load_klass() != NULL, "klass not set"); |
1019 n_copy->set_data((intx) (load_klass())); | 1019 n_copy->set_data((intx) (load_klass())); |
1020 } else { | 1020 } else { |
1021 assert(mirror() != NULL, "klass not set"); | 1021 assert(mirror() != NULL, "klass not set"); |
1022 n_copy->set_data((intx) (mirror())); | 1022 n_copy->set_data(cast_from_oop<intx>(mirror())); |
1023 } | 1023 } |
1024 | 1024 |
1025 if (TracePatching) { | 1025 if (TracePatching) { |
1026 Disassembler::decode(copy_buff, copy_buff + *byte_count, tty); | 1026 Disassembler::decode(copy_buff, copy_buff + *byte_count, tty); |
1027 } | 1027 } |
1029 } else if (stub_id == Runtime1::load_appendix_patching_id) { | 1029 } else if (stub_id == Runtime1::load_appendix_patching_id) { |
1030 NativeMovConstReg* n_copy = nativeMovConstReg_at(copy_buff); | 1030 NativeMovConstReg* n_copy = nativeMovConstReg_at(copy_buff); |
1031 assert(n_copy->data() == 0 || | 1031 assert(n_copy->data() == 0 || |
1032 n_copy->data() == (intptr_t)Universe::non_oop_word(), | 1032 n_copy->data() == (intptr_t)Universe::non_oop_word(), |
1033 "illegal init value"); | 1033 "illegal init value"); |
1034 n_copy->set_data((intx) (appendix())); | 1034 n_copy->set_data(cast_from_oop<intx>(appendix())); |
1035 | 1035 |
1036 if (TracePatching) { | 1036 if (TracePatching) { |
1037 Disassembler::decode(copy_buff, copy_buff + *byte_count, tty); | 1037 Disassembler::decode(copy_buff, copy_buff + *byte_count, tty); |
1038 } | 1038 } |
1039 } else { | 1039 } else { |