src/share/vm/c1/c1_Runtime1.cpp

changeset 6992
2c6ef90f030a
parent 6680
78bbf4d43a14
child 7167
be56d800c946
equal deleted inserted replaced
6991:882004b9e7e1 6992:2c6ef90f030a
1016 if (stub_id == Runtime1::load_klass_patching_id) { 1016 if (stub_id == Runtime1::load_klass_patching_id) {
1017 assert(load_klass() != NULL, "klass not set"); 1017 assert(load_klass() != NULL, "klass not set");
1018 n_copy->set_data((intx) (load_klass())); 1018 n_copy->set_data((intx) (load_klass()));
1019 } else { 1019 } else {
1020 assert(mirror() != NULL, "klass not set"); 1020 assert(mirror() != NULL, "klass not set");
1021 // Don't need a G1 pre-barrier here since we assert above that data isn't an oop.
1021 n_copy->set_data(cast_from_oop<intx>(mirror())); 1022 n_copy->set_data(cast_from_oop<intx>(mirror()));
1022 } 1023 }
1023 1024
1024 if (TracePatching) { 1025 if (TracePatching) {
1025 Disassembler::decode(copy_buff, copy_buff + *byte_count, tty); 1026 Disassembler::decode(copy_buff, copy_buff + *byte_count, tty);

mercurial