Mercurial > hg > truffle
diff src/share/vm/graal/graalCompilerToVM.cpp @ 10434:8b22524df53b
Add G1 Barriers' foreign calls
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Thu, 20 Jun 2013 16:10:14 +0200 |
parents | 836a62f43af9 |
children | 3489047ffea2 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompilerToVM.cpp Thu Jun 20 15:36:49 2013 +0200 +++ b/src/share/vm/graal/graalCompilerToVM.cpp Thu Jun 20 16:10:14 2013 +0200 @@ -871,6 +871,8 @@ set_int("g1SATBQueueMarkingOffset", in_bytes(JavaThread::satb_mark_queue_offset() + PtrQueue::byte_offset_of_active())); set_int("g1SATBQueueIndexOffset", in_bytes(JavaThread::satb_mark_queue_offset() + PtrQueue::byte_offset_of_index())); set_int("g1SATBQueueBufferOffset", in_bytes(JavaThread::satb_mark_queue_offset() + PtrQueue::byte_offset_of_buf())); + set_address("writeBarrierPreAddress", GraalRuntime::write_barrier_pre); + set_address("writeBarrierPostAddress", GraalRuntime::write_barrier_post); BarrierSet* bs = Universe::heap()->barrier_set(); switch (bs->kind()) {