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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 23
    • 23
    • 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.

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

              Created:
              Updated:
              Resolved: