Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8315450

G1: Remove redundant adjustment to GCDrainStackTargetSize

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 22
    • hotspot
    • gc

      The default valuse for GCDrainStackTargetSize and TASKQUEUE_SIZE are known statically. This is effetively dead code.

        if (FLAG_IS_DEFAULT(GCDrainStackTargetSize)) {
          FLAG_SET_ERGO(GCDrainStackTargetSize, MIN2(GCDrainStackTargetSize, TASKQUEUE_SIZE / 4));
        }

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: