comparison src/share/vm/c1/c1_Runtime1.cpp @ 20278:2c6ef90f030a

8049421: G1 Class Unloading after completing a concurrent mark cycle Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov Contributed-by: stefan.karlsson@oracle.com, mikael.gerdin@oracle.com
author stefank
date Mon, 07 Jul 2014 10:12:40 +0200
parents 78bbf4d43a14
children be56d800c946
comparison
equal deleted inserted replaced
20277:882004b9e7e1 20278: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);