535 product(uintx, ShenandoahMaxSATBBufferFlushes, 5, EXPERIMENTAL, \
536 "How many times to maximum attempt to flush SATB buffers at the " \
537 "end of concurrent marking.") \
538 \
539 product(bool, ShenandoahSATBBarrier, true, DIAGNOSTIC, \
540 "Turn on/off SATB barriers in Shenandoah") \
541 \
542 product(bool, ShenandoahCardBarrier, false, DIAGNOSTIC, \
543 "Turn on/off card-marking post-write barrier in Shenandoah: " \
544 " true when ShenandoahGCMode is generational, false otherwise") \
545 \
546 product(bool, ShenandoahCASBarrier, true, DIAGNOSTIC, \
547 "Turn on/off CAS barriers in Shenandoah") \
548 \
549 product(bool, ShenandoahCloneBarrier, true, DIAGNOSTIC, \
550 "Turn on/off clone barriers in Shenandoah") \
551 \
552 product(bool, ShenandoahLoadRefBarrier, true, DIAGNOSTIC, \
553 "Turn on/off load-reference barriers in Shenandoah") \
554 \
555 develop(bool, ShenandoahVerifyOptoBarriers, trueInDebug, \
556 "Verify no missing barriers in C2.") \
557 \
558 product(uintx, ShenandoahOldCompactionReserve, 8, EXPERIMENTAL, \
559 "During generational GC, prevent promotions from filling " \
560 "this number of heap regions. These regions are reserved " \
561 "for the purpose of supporting compaction of old-gen " \
562 "memory. Otherwise, old-gen memory cannot be compacted.") \
563 range(0, 128) \
564 \
565 product(bool, ShenandoahAllowOldMarkingPreemption, true, DIAGNOSTIC, \
566 "Allow young generation collections to suspend concurrent" \
567 " marking in the old generation.") \
568 \
569 product(uintx, ShenandoahAgingCyclePeriod, 1, EXPERIMENTAL, \
570 "With generational mode, increment the age of objects and" \
571 "regions each time this many young-gen GC cycles are completed.") \
572 \
573 develop(bool, ShenandoahEnableCardStats, false, \
574 "Enable statistics collection related to clean & dirty cards") \
|
535 product(uintx, ShenandoahMaxSATBBufferFlushes, 5, EXPERIMENTAL, \
536 "How many times to maximum attempt to flush SATB buffers at the " \
537 "end of concurrent marking.") \
538 \
539 product(bool, ShenandoahSATBBarrier, true, DIAGNOSTIC, \
540 "Turn on/off SATB barriers in Shenandoah") \
541 \
542 product(bool, ShenandoahCardBarrier, false, DIAGNOSTIC, \
543 "Turn on/off card-marking post-write barrier in Shenandoah: " \
544 " true when ShenandoahGCMode is generational, false otherwise") \
545 \
546 product(bool, ShenandoahCASBarrier, true, DIAGNOSTIC, \
547 "Turn on/off CAS barriers in Shenandoah") \
548 \
549 product(bool, ShenandoahCloneBarrier, true, DIAGNOSTIC, \
550 "Turn on/off clone barriers in Shenandoah") \
551 \
552 product(bool, ShenandoahLoadRefBarrier, true, DIAGNOSTIC, \
553 "Turn on/off load-reference barriers in Shenandoah") \
554 \
555 product(bool, ShenandoahCloneRuntime, false, DIAGNOSTIC, \
556 "Handle clone in runtime instead of in copy stubs.") \
557 \
558 product(bool, ShenandoahElideBarriers, true, DIAGNOSTIC, \
559 "Elide redundant Shenandoah barriers.") \
560 \
561 product(bool, ShenandoahElideDominatedBarriers, true, DIAGNOSTIC, \
562 "Elide redundant dominated Shenandoah barriers.") \
563 \
564 product(bool, ShenandoahWeakRootsEarly, false, EXPERIMENTAL, \
565 "Turn off weak roots earlier than usual. TODO: Upstream!") \
566 \
567 product(int, ShenandoahDelayGC, 0, EXPERIMENTAL, \
568 "Delay GC phases by this amount of milliseconds. " \
569 "Helps to measure active GC barriers costs.") \
570 \
571 develop(bool, ShenandoahVerifyOptoBarriers, trueInDebug, \
572 "Verify no missing barriers in C2.") \
573 \
574 product(uintx, ShenandoahOldCompactionReserve, 8, EXPERIMENTAL, \
575 "During generational GC, prevent promotions from filling " \
576 "this number of heap regions. These regions are reserved " \
577 "for the purpose of supporting compaction of old-gen " \
578 "memory. Otherwise, old-gen memory cannot be compacted.") \
579 range(0, 128) \
580 \
581 product(bool, ShenandoahAllowOldMarkingPreemption, true, DIAGNOSTIC, \
582 "Allow young generation collections to suspend concurrent" \
583 " marking in the old generation.") \
584 \
585 product(uintx, ShenandoahAgingCyclePeriod, 1, EXPERIMENTAL, \
586 "With generational mode, increment the age of objects and" \
587 "regions each time this many young-gen GC cycles are completed.") \
588 \
589 develop(bool, ShenandoahEnableCardStats, false, \
590 "Enable statistics collection related to clean & dirty cards") \
|