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

G1: Remove _gc_succeeded from VM_G1CollectForAllocation because it is always true

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • hotspot
    • gc
    • master

      See summary - that member must always be true if the doit() method ran. There is no way anymore that the actual execution of the VM operation failed.

      So gc_succeeded() could just return prologue_succeeded().

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: