Mark `allocate_new_tlab` and `unsafe_max_tlab_alloc` of `CollectedHeap` as `pure virtual`

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 23
    • Affects Version/s: 23
    • Component/s: hotspot
    • gc
    • b16

      The methods `CollectedHeap::allocate_new_tlab` and
      `CollectedHeap::unsafe_max_tlab_alloc` only have the statement `guarantee(false, ...)`. They are never run and overridden by subclasses. It is good to mark them as `pure virtual` instead of giving an implementation.

            Assignee:
            Guoxiong Li
            Reporter:
            Guoxiong Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: