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

[x86] ControlWord::print(), rc/pc variables might not be initialized

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      Static analyzers complain that in `ControlWord::print()`, `rc`/`pc` variables might not be initialized. This never happens in practice, because `rounding_control()` and `precision_control()` return the good values. We can make it cleaner to silence the compiler.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: