< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfigVersioned.java

Print this page




  64     int invocationCounterIncrement = getConstant("InvocationCounter::count_increment", Integer.class);
  65     int invocationCounterShift = getConstant("InvocationCounter::count_shift", Integer.class);
  66 
  67     // JDK-8195142
  68     byte dirtyCardValue = getConstant("CardTable::dirty_card", Byte.class);
  69     byte g1YoungCardValue = getConstant("G1CardTable::g1_young_gen", Byte.class);
  70 
  71     // JDK-8201318
  72     int g1SATBQueueMarkingOffset = getConstant("G1ThreadLocalData::satb_mark_queue_active_offset", Integer.class);
  73     int g1SATBQueueIndexOffset = getConstant("G1ThreadLocalData::satb_mark_queue_index_offset", Integer.class);
  74     int g1SATBQueueBufferOffset = getConstant("G1ThreadLocalData::satb_mark_queue_buffer_offset", Integer.class);
  75     int g1CardQueueIndexOffset = getConstant("G1ThreadLocalData::dirty_card_queue_index_offset", Integer.class);
  76     int g1CardQueueBufferOffset = getConstant("G1ThreadLocalData::dirty_card_queue_buffer_offset", Integer.class);
  77 
  78     // JDK-8033552
  79     long heapTopAddress = getFieldValue("CompilerToVM::Data::_heap_top_addr", Long.class, "HeapWord* volatile*");
  80 
  81     // JDK-8015774
  82     long codeCacheLowBound = getFieldValue("CodeCache::_low_bound", Long.class, "address");
  83     long codeCacheHighBound = getFieldValue("CodeCache::_high_bound", Long.class, "address");




  84 }


  64     int invocationCounterIncrement = getConstant("InvocationCounter::count_increment", Integer.class);
  65     int invocationCounterShift = getConstant("InvocationCounter::count_shift", Integer.class);
  66 
  67     // JDK-8195142
  68     byte dirtyCardValue = getConstant("CardTable::dirty_card", Byte.class);
  69     byte g1YoungCardValue = getConstant("G1CardTable::g1_young_gen", Byte.class);
  70 
  71     // JDK-8201318
  72     int g1SATBQueueMarkingOffset = getConstant("G1ThreadLocalData::satb_mark_queue_active_offset", Integer.class);
  73     int g1SATBQueueIndexOffset = getConstant("G1ThreadLocalData::satb_mark_queue_index_offset", Integer.class);
  74     int g1SATBQueueBufferOffset = getConstant("G1ThreadLocalData::satb_mark_queue_buffer_offset", Integer.class);
  75     int g1CardQueueIndexOffset = getConstant("G1ThreadLocalData::dirty_card_queue_index_offset", Integer.class);
  76     int g1CardQueueBufferOffset = getConstant("G1ThreadLocalData::dirty_card_queue_buffer_offset", Integer.class);
  77 
  78     // JDK-8033552
  79     long heapTopAddress = getFieldValue("CompilerToVM::Data::_heap_top_addr", Long.class, "HeapWord* volatile*");
  80 
  81     // JDK-8015774
  82     long codeCacheLowBound = getFieldValue("CodeCache::_low_bound", Long.class, "address");
  83     long codeCacheHighBound = getFieldValue("CodeCache::_high_bound", Long.class, "address");
  84 
  85     long continuationThaw = getFieldValue("StubRoutines::_cont_thaw", Long.class, "address");
  86     long continuationGetSP = getFieldValue("StubRoutines::_cont_getSP", Long.class, "address");
  87     long continuationDoYield = getFieldValue("StubRoutines::_cont_doYield", Long.class, "address");
  88 }
< prev index next >