516 public final int g1SATBQueueBufferOffset = versioned.g1SATBQueueBufferOffset;
517 public final int g1CardQueueIndexOffset = versioned.g1CardQueueIndexOffset;
518 public final int g1CardQueueBufferOffset = versioned.g1CardQueueBufferOffset;
519
520 public final int klassOffset = getFieldValue("java_lang_Class::_klass_offset", Integer.class, "int");
521 public final int arrayKlassOffset = getFieldValue("java_lang_Class::_array_klass_offset", Integer.class, "int");
522
523 public final int basicLockSize = getFieldValue("CompilerToVM::Data::sizeof_BasicLock", Integer.class, "int");
524 public final int basicLockDisplacedHeaderOffset = getFieldOffset("BasicLock::_displaced_header", Integer.class, "markOop");
525
526 public final int threadPollingPageOffset = getFieldOffset("Thread::_polling_page", Integer.class, "address", -1);
527 public final int threadAllocatedBytesOffset = getFieldOffset("Thread::_allocated_bytes", Integer.class, "jlong");
528
529 public final int tlabRefillWasteIncrement = getFlag("TLABWasteIncrement", Integer.class);
530
531 private final int threadLocalAllocBufferStartOffset = getFieldOffset("ThreadLocalAllocBuffer::_start", Integer.class, "HeapWord*");
532 private final int threadLocalAllocBufferEndOffset = getFieldOffset("ThreadLocalAllocBuffer::_end", Integer.class, "HeapWord*");
533 private final int threadLocalAllocBufferTopOffset = getFieldOffset("ThreadLocalAllocBuffer::_top", Integer.class, "HeapWord*");
534 private final int threadLocalAllocBufferPfTopOffset = getFieldOffset("ThreadLocalAllocBuffer::_pf_top", Integer.class, "HeapWord*");
535 private final int threadLocalAllocBufferSlowAllocationsOffset = getFieldOffset("ThreadLocalAllocBuffer::_slow_allocations", Integer.class, "unsigned");
536 private final int threadLocalAllocBufferFastRefillWasteOffset = getFieldOffset("ThreadLocalAllocBuffer::_fast_refill_waste", Integer.class, "unsigned");
537 private final int threadLocalAllocBufferNumberOfRefillsOffset = getFieldOffset("ThreadLocalAllocBuffer::_number_of_refills", Integer.class, "unsigned");
538 private final int threadLocalAllocBufferRefillWasteLimitOffset = getFieldOffset("ThreadLocalAllocBuffer::_refill_waste_limit", Integer.class, "size_t");
539 private final int threadLocalAllocBufferDesiredSizeOffset = getFieldOffset("ThreadLocalAllocBuffer::_desired_size", Integer.class, "size_t");
540
541 public int tlabSlowAllocationsOffset() {
542 return threadTlabOffset + threadLocalAllocBufferSlowAllocationsOffset;
543 }
544
545 public int tlabFastRefillWasteOffset() {
546 return threadTlabOffset + threadLocalAllocBufferFastRefillWasteOffset;
547 }
548
549 public int tlabNumberOfRefillsOffset() {
550 return threadTlabOffset + threadLocalAllocBufferNumberOfRefillsOffset;
551 }
552
553 public int tlabRefillWasteLimitOffset() {
554 return threadTlabOffset + threadLocalAllocBufferRefillWasteLimitOffset;
555 }
556
557 public int threadTlabSizeOffset() {
558 return threadTlabOffset + threadLocalAllocBufferDesiredSizeOffset;
559 }
560
561 public int threadTlabStartOffset() {
562 return threadTlabOffset + threadLocalAllocBufferStartOffset;
563 }
564
565 public int threadTlabEndOffset() {
566 return threadTlabOffset + threadLocalAllocBufferEndOffset;
|
516 public final int g1SATBQueueBufferOffset = versioned.g1SATBQueueBufferOffset;
517 public final int g1CardQueueIndexOffset = versioned.g1CardQueueIndexOffset;
518 public final int g1CardQueueBufferOffset = versioned.g1CardQueueBufferOffset;
519
520 public final int klassOffset = getFieldValue("java_lang_Class::_klass_offset", Integer.class, "int");
521 public final int arrayKlassOffset = getFieldValue("java_lang_Class::_array_klass_offset", Integer.class, "int");
522
523 public final int basicLockSize = getFieldValue("CompilerToVM::Data::sizeof_BasicLock", Integer.class, "int");
524 public final int basicLockDisplacedHeaderOffset = getFieldOffset("BasicLock::_displaced_header", Integer.class, "markOop");
525
526 public final int threadPollingPageOffset = getFieldOffset("Thread::_polling_page", Integer.class, "address", -1);
527 public final int threadAllocatedBytesOffset = getFieldOffset("Thread::_allocated_bytes", Integer.class, "jlong");
528
529 public final int tlabRefillWasteIncrement = getFlag("TLABWasteIncrement", Integer.class);
530
531 private final int threadLocalAllocBufferStartOffset = getFieldOffset("ThreadLocalAllocBuffer::_start", Integer.class, "HeapWord*");
532 private final int threadLocalAllocBufferEndOffset = getFieldOffset("ThreadLocalAllocBuffer::_end", Integer.class, "HeapWord*");
533 private final int threadLocalAllocBufferTopOffset = getFieldOffset("ThreadLocalAllocBuffer::_top", Integer.class, "HeapWord*");
534 private final int threadLocalAllocBufferPfTopOffset = getFieldOffset("ThreadLocalAllocBuffer::_pf_top", Integer.class, "HeapWord*");
535 private final int threadLocalAllocBufferSlowAllocationsOffset = getFieldOffset("ThreadLocalAllocBuffer::_slow_allocations", Integer.class, "unsigned");
536 private final int threadLocalAllocBufferNumberOfRefillsOffset = getFieldOffset("ThreadLocalAllocBuffer::_number_of_refills", Integer.class, "unsigned");
537 private final int threadLocalAllocBufferRefillWasteLimitOffset = getFieldOffset("ThreadLocalAllocBuffer::_refill_waste_limit", Integer.class, "size_t");
538 private final int threadLocalAllocBufferDesiredSizeOffset = getFieldOffset("ThreadLocalAllocBuffer::_desired_size", Integer.class, "size_t");
539
540 public int tlabSlowAllocationsOffset() {
541 return threadTlabOffset + threadLocalAllocBufferSlowAllocationsOffset;
542 }
543
544 public int tlabNumberOfRefillsOffset() {
545 return threadTlabOffset + threadLocalAllocBufferNumberOfRefillsOffset;
546 }
547
548 public int tlabRefillWasteLimitOffset() {
549 return threadTlabOffset + threadLocalAllocBufferRefillWasteLimitOffset;
550 }
551
552 public int threadTlabSizeOffset() {
553 return threadTlabOffset + threadLocalAllocBufferDesiredSizeOffset;
554 }
555
556 public int threadTlabStartOffset() {
557 return threadTlabOffset + threadLocalAllocBufferStartOffset;
558 }
559
560 public int threadTlabEndOffset() {
561 return threadTlabOffset + threadLocalAllocBufferEndOffset;
|