> Here's a suggested solution for the ticket mentioned and a use case for > outputStream. I'm not attached to the name. > > This saves space for all allocated outputStreams, which is nice. It also > makes the purpose of ResourceObj more clear ("please handle the life cycle > for me"), reducing the need for it. > > Thank you for considering it.
Johan Sjölen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits: - Introduce new, invalid, memory flag - delete _print_inlining_stream - Merge remote-tracking branch 'origin/master' into dyn-cheapobj - Avoid leaking predString - Try out Coleen's suggestion - DynCHeapObj ------------- Changes: https://git.openjdk.org/jdk/pull/10412/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10412&range=02 Stats: 47 lines in 15 files changed: 9 ins; 0 del; 38 mod Patch: https://git.openjdk.org/jdk/pull/10412.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10412/head:pull/10412 PR: https://git.openjdk.org/jdk/pull/10412