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

Redundant code in Deoptimization::print_statistics

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 25
    • hotspot
    • generic
    • generic

      The Deoptimization::print_statistics contains the following conditional on line 2927:
      if (bc_case == BC_CASE_LIMIT && (int)bc == 0)
      Since bc_case is bound by < BC_CASE_LIMIT in a for-loop, the conditional does not hold and its code will never be executed.

            phubner Paul Hubner
            phubner Paul Hubner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: