Remove superfluous ResourceMarks when using LogStream

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 20
    • Component/s: hotspot
    • b17

      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.

            Assignee:
            Casper Norrbin
            Reporter:
            Johan Sjölen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: