G1: Remove redundant adjustment to GCDrainStackTargetSize

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: 22
    • Component/s: 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));
        }

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

              Created:
              Updated:
              Resolved: