Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
10617:88fa00e79d4a | 10618:72d0ea03635b |
---|---|
905 set_int("g1SATBQueueMarkingOffset", in_bytes(JavaThread::satb_mark_queue_offset() + PtrQueue::byte_offset_of_active())); | 905 set_int("g1SATBQueueMarkingOffset", in_bytes(JavaThread::satb_mark_queue_offset() + PtrQueue::byte_offset_of_active())); |
906 set_int("g1SATBQueueIndexOffset", in_bytes(JavaThread::satb_mark_queue_offset() + PtrQueue::byte_offset_of_index())); | 906 set_int("g1SATBQueueIndexOffset", in_bytes(JavaThread::satb_mark_queue_offset() + PtrQueue::byte_offset_of_index())); |
907 set_int("g1SATBQueueBufferOffset", in_bytes(JavaThread::satb_mark_queue_offset() + PtrQueue::byte_offset_of_buf())); | 907 set_int("g1SATBQueueBufferOffset", in_bytes(JavaThread::satb_mark_queue_offset() + PtrQueue::byte_offset_of_buf())); |
908 set_address("writeBarrierPreAddress", GraalRuntime::write_barrier_pre); | 908 set_address("writeBarrierPreAddress", GraalRuntime::write_barrier_pre); |
909 set_address("writeBarrierPostAddress", GraalRuntime::write_barrier_post); | 909 set_address("writeBarrierPostAddress", GraalRuntime::write_barrier_post); |
910 set_address("gcTotalCollectionsAddress", (jlong)(address)(Universe::heap()->total_collections_address())); | |
910 | 911 |
911 BarrierSet* bs = Universe::heap()->barrier_set(); | 912 BarrierSet* bs = Universe::heap()->barrier_set(); |
912 switch (bs->kind()) { | 913 switch (bs->kind()) { |
913 case BarrierSet::CardTableModRef: | 914 case BarrierSet::CardTableModRef: |
914 case BarrierSet::CardTableExtension: | 915 case BarrierSet::CardTableExtension: |