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

do not use uninitialized expand_ms value in G1CollectedHeap::expand_heap_after_young_collection

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b06
    • CPU:
      generic
    • OS:
      generic

      Description

      Currently we could run into an uninitialized value of expand_ms in G1CollectedHeap::expand_heap_after_young_collection() .
      This would happen in case of an early return of bool G1CollectedHeap::expand(size_t expand_bytes, WorkGang* pretouch_workers, double* expand_time_ms) .

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mbaesken Matthias Baesken
                Reporter:
                mbaesken Matthias Baesken
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: