Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Runtime1.cpp Tue Jul 01 09:03:55 2014 +0200 +++ b/src/share/vm/c1/c1_Runtime1.cpp Mon Jul 07 10:12:40 2014 +0200 @@ -1018,6 +1018,7 @@ 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())); }