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

Remove unnecessary gc_timer null check in ReferenceProcessorPhaseTimes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • hotspot
    • gc
    • b06

      In `ReferenceProcessorPhaseTimes` constructor, `gc_timer` arg is never null, so the field `_gc_timer`is never null. Therefore, all users of this field don't need to do null check.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: