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

TLABWasteIncrement=max_jint fires an assert on SPARC for non-G1 GC mode

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b105

      Description

      TLABWasteIncrement=max_intx is okay for G1 on SPARC but other collectors fires an assert.
      ThreadLocalAllocBuffer::refill_waste_limit_increment() is directly used at 'add' instruction but only 13bits are used on that.

      In addition, as current TestOptionsWithRanges.java tests only for default garbage collector if there is no dependency on the flag, we couldn't find this issue before.
      With JDK-8144578 fixed, we don't need a new test for all collectors.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sangheki Sangheon Kim
                Reporter:
                sangheki Sangheon Kim
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: