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

Remove unused _width and _newlines field in outputStream

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • b18

    Description

      _width is entirely unused, _newlines is only used as a boolean check in one place. Remove these and use the return value of update_position to say if a newline was seen or not.

      This removes some cruft from outputStream and saves 8 bytes in allocation.

      Attachments

        Issue Links

          Activity

            People

              jsjolen Johan Sjölen
              jsjolen Johan Sjölen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: