package org.graalvm.compiler.hotspot;
import jdk.vm.ci.hotspot.HotSpotVMConfigAccess;
import jdk.vm.ci.hotspot.HotSpotVMConfigStore;
final class GraalHotSpotVMConfigVersioned extends HotSpotVMConfigAccess {
GraalHotSpotVMConfigVersioned(HotSpotVMConfigStore store) {
super(store);
}
boolean inlineNotify = true;
boolean useCRC32CIntrinsics = getFlag("UseCRC32CIntrinsics", Boolean.class);
int javaThreadReservedStackActivationOffset = getFieldOffset("JavaThread::_reserved_stack_activation", Integer.class, "address");
int methodFlagsOffset = getFieldOffset("Method::_flags", Integer.class, "u2");
long throwDelayedStackOverflowErrorEntry = getFieldValue("StubRoutines::_throw_delayed_StackOverflowError_entry", Long.class, "address");
long enableStackReservedZoneAddress = getAddress("SharedRuntime::enable_stack_reserved_zone");
int methodIntrinsicIdOffset = getFieldOffset("Method::_intrinsic_id", Integer.class, "u2");
int methodCodeOffset = getFieldOffset("Method::_code", Integer.class, "CompiledMethod*");
int invocationCounterIncrement = getConstant("InvocationCounter::count_increment", Integer.class);
int invocationCounterShift = getConstant("InvocationCounter::count_shift", Integer.class);
byte dirtyCardValue = getConstant("CardTable::dirty_card", Byte.class);
byte g1YoungCardValue = getConstant("G1CardTable::g1_young_gen", Byte.class);
int g1SATBQueueMarkingOffset = getConstant("G1ThreadLocalData::satb_mark_queue_active_offset", Integer.class);
int g1SATBQueueIndexOffset = getConstant("G1ThreadLocalData::satb_mark_queue_index_offset", Integer.class);
int g1SATBQueueBufferOffset = getConstant("G1ThreadLocalData::satb_mark_queue_buffer_offset", Integer.class);
int g1CardQueueIndexOffset = getConstant("G1ThreadLocalData::dirty_card_queue_index_offset", Integer.class);
int g1CardQueueBufferOffset = getConstant("G1ThreadLocalData::dirty_card_queue_buffer_offset", Integer.class);
long heapTopAddress = getFieldValue("CompilerToVM::Data::_heap_top_addr", Long.class, "HeapWord* volatile*");
long codeCacheLowBound = getFieldValue("CodeCache::_low_bound", Long.class, "address");
long codeCacheHighBound = getFieldValue("CodeCache::_high_bound", Long.class, "address");
}