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

Remove superfluous ResourceMarks when using LogStream

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 20
    • hotspot

      LogStream does not need a ResourceMark, yet there are many usages in the codebase that allocates an RM unnecessarily. Remove these.

      The reason that devs have put in RMs unnecessarily is that LogStream inherits from outputStream which in turn inherited from ResourceObj, this is no longer the case as JDK-8294308 was merged.

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

              Created:
              Updated: