Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalCompilerToVM.cpp @ 10618:72d0ea03635b
Delegate GC counter from HotSpot to Graal for tracing purposes
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Sun, 07 Jul 2013 17:09:19 +0200 |
parents | b0b368d38b40 |
children | 08e06d4a9e73 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompilerToVM.cpp Sun Jul 07 17:02:15 2013 +0200 +++ b/src/share/vm/graal/graalCompilerToVM.cpp Sun Jul 07 17:09:19 2013 +0200 @@ -907,6 +907,7 @@ 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); + set_address("gcTotalCollectionsAddress", (jlong)(address)(Universe::heap()->total_collections_address())); BarrierSet* bs = Universe::heap()->barrier_set(); switch (bs->kind()) {