Mercurial > hg > truffle
diff src/share/vm/runtime/sharedRuntime.cpp @ 845:df6caf649ff7
6700789: G1: Enable use of compressed oops with G1 heaps
Summary: Modifications to G1 so as to allow the use of compressed oops.
Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
author | ysr |
---|---|
date | Tue, 14 Jul 2009 15:40:39 -0700 |
parents | 45463a04ca27 |
children | e66fd840cb6b |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp Fri Jul 10 16:01:20 2009 -0700 +++ b/src/share/vm/runtime/sharedRuntime.cpp Tue Jul 14 15:40:39 2009 -0700 @@ -119,6 +119,7 @@ assert(false, "should be optimized out"); return; } + assert(orig->is_oop(true /* ignore mark word */), "Error"); // store the original value that was in the field reference thread->satb_mark_queue().enqueue(orig); JRT_END