src/share/vm/c1/c1_Runtime1.cpp

Print this page

        

@@ -1048,10 +1048,11 @@
             if (stub_id == Runtime1::load_klass_patching_id) {
               assert(load_klass() != NULL, "klass not set");
               n_copy->set_data((intx) (load_klass()));
             } else {
               assert(mirror() != NULL, "klass not set");
+              // Don't need a G1 pre-barrier here since we assert above that data isn't an oop.
               n_copy->set_data(cast_from_oop<intx>(mirror()));
             }
 
             if (TracePatching) {
               Disassembler::decode(copy_buff, copy_buff + *byte_count, tty);