OpenJDK / graal / graal-jvmci-8
changeset 10714:28dc33dc4565
Delegate compressed klass pointers info from HotSpot to Graal
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Fri, 12 Jul 2013 12:24:11 +0200 |
parents | 057154505878 |
children | c3760150dc29 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java src/share/vm/graal/graalCompilerToVM.cpp |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java Thu Jul 11 20:58:54 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java Fri Jul 12 12:24:11 2013 +0200 @@ -58,6 +58,9 @@ public long narrowOopBase; public int narrowOopShift; public int logMinObjAlignment; + public long narrowKlassBase; + public int narrowKlassShift; + public int logKlassAlignment; // CPU capabilities public int useSSE;
--- a/src/share/vm/graal/graalCompilerToVM.cpp Thu Jul 11 20:58:54 2013 +0200 +++ b/src/share/vm/graal/graalCompilerToVM.cpp Fri Jul 12 12:24:11 2013 +0200 @@ -867,6 +867,10 @@ set_address("narrowOopBase", Universe::narrow_oop_base()); set_int("narrowOopShift", Universe::narrow_oop_shift()); set_int("logMinObjAlignment", LogMinObjAlignmentInBytes); + set_address("narrowKlassBase", Universe::narrow_klass_base()); + set_int("narrowKlassShift", Universe::narrow_klass_shift()); + set_int("logKlassAlignment", LogKlassAlignmentInBytes); + set_int("g1CardQueueIndexOffset", in_bytes(JavaThread::dirty_card_queue_offset() + PtrQueue::byte_offset_of_index())); set_int("g1CardQueueBufferOffset", in_bytes(JavaThread::dirty_card_queue_offset() + PtrQueue::byte_offset_of_buf()));