RFR: 8294308: Allow dynamically choosing the MEMFLAGS of a type without ResourceObj [v6]
Johan Sjölen
jsjolen at openjdk.org
Thu Oct 6 12:32:24 UTC 2022
> 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 incrementally with five additional commits since the last revision:
- Messed up the merge but now it compiles
- Merge branch 'dyn-cheapobj-take2' into dyn-cheapobj
- Fix style issues
- Final refactoring?
- Final refactoring?
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10412/files
- new: https://git.openjdk.org/jdk/pull/10412/files/7076784c..9a365985
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10412&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10412&range=04-05
Stats: 80 lines in 2 files changed: 11 ins; 41 del; 28 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
More information about the serviceability-dev
mailing list