Ejemplo n.º 1
0
PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC

// Implementation of ThreadShadow
void check_ThreadShadow() {
  const ByteSize offset1 = byte_offset_of(ThreadShadow, _pending_exception);
  const ByteSize offset2 = Thread::pending_exception_offset();
  if (offset1 != offset2) fatal("ThreadShadow::_pending_exception is not positioned correctly");
}
 static ByteSize raw_value_offset() { return byte_offset_of(HeapRefBuffer::Entry, _raw_value); }
Ejemplo n.º 3
0
 // For java intrinsics:
 static ByteSize interrupted_offset()            { return byte_offset_of(OSThread, _interrupted); }
 static ByteSize fast_refill_waste_offset()     { return byte_offset_of(ThreadLocalAllocBuffer, _fast_refill_waste ); }
 static ByteSize refill_waste_limit_offset()    { return byte_offset_of(ThreadLocalAllocBuffer, _refill_waste_limit ); }
 static ByteSize pf_top_offset()                { return byte_offset_of(ThreadLocalAllocBuffer, _pf_top  ); }
 // Code generation support
 static ByteSize start_offset()                 { return byte_offset_of(ThreadLocalAllocBuffer, _start); }
Ejemplo n.º 8
0
 // Compiler/Interpreter offset
 static ByteSize array_header_in_bytes_offset() { return byte_offset_of(arrayKlass, _array_header_in_bytes); }
 // Offsets for cpuid asm stub
 static ByteSize std_cpuid0_offset() { return byte_offset_of(CpuidInfo, std_max_function); }
Ejemplo n.º 10
0
 // Compiler/Interpreter offset
 static ByteSize component_mirror_offset() { return byte_offset_of(arrayKlass, _component_mirror); }
Ejemplo n.º 11
0
 static ByteSize thread_id_offset()              { return byte_offset_of(OSThread, _thread_id); }
Ejemplo n.º 12
0
 static ByteSize pending_failed_speculation_offset() { return byte_offset_of(ThreadShadow, _pending_failed_speculation); }
Ejemplo n.º 13
0
 static ByteSize pending_monitorenter_offset()  { return byte_offset_of(ThreadShadow, _pending_monitorenter); }
static ByteSize referrer_klass_id_offset(){
        return byte_offset_of(HeapRefBuffer::Entry, _referrer_klass_id);
      }
Ejemplo n.º 15
0
// Implementation of ThreadShadow
void check_ThreadShadow() {
    const ByteSize offset1 = byte_offset_of(ThreadShadow, _pending_exception);
    const ByteSize offset2 = Thread::pending_exception_offset();
    if (offset1 != offset2) fatal("ThreadShadow::_pending_exception is not positioned correctly");
}
 static ByteSize earlyret_value_offset() { return byte_offset_of(JvmtiThreadState, _earlyret_value); }
 static ByteSize std_cpuid1_offset() { return byte_offset_of(CpuidInfo, std_cpuid1_eax); }
Ejemplo n.º 18
0
 static ByteSize entry_point_offset() {
   return byte_offset_of(ZeroEntry, _entry_point);
 }
 static ByteSize dcp_cpuid4_offset() { return byte_offset_of(CpuidInfo, dcp_cpuid4_eax); }
 static ByteSize end_offset()                   { return byte_offset_of(ThreadLocalAllocBuffer, _end  ); }
 static ByteSize sef_cpuid7_offset() { return byte_offset_of(CpuidInfo, sef_cpuid7_eax); }
 static ByteSize size_offset()                  { return byte_offset_of(ThreadLocalAllocBuffer, _desired_size ); }
 static ByteSize ext_cpuid8_offset() { return byte_offset_of(CpuidInfo, ext_cpuid8_eax); }
 static ByteSize number_of_refills_offset()     { return byte_offset_of(ThreadLocalAllocBuffer, _number_of_refills ); }
 static ByteSize tpl_cpuidB2_offset() { return byte_offset_of(CpuidInfo, tpl_cpuidB2_eax); }
 static ByteSize slow_allocations_offset()      { return byte_offset_of(ThreadLocalAllocBuffer, _slow_allocations ); }
 static ByteSize xem_xcr0_offset() { return byte_offset_of(CpuidInfo, xem_xcr0_eax); }
 // Code generation support
 static ByteSize pending_exception_offset()     { return byte_offset_of(ThreadShadow, _pending_exception); }
 static ByteSize ymm_save_offset() { return byte_offset_of(CpuidInfo, ymm_save); }