RFR: 8294308: Allow dynamically choosing the MEMFLAGS of a type without ResourceObj

Johan Sjölen jsjolen at openjdk.org
Fri Sep 23 17:25:44 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.

-------------

Commit messages:
 - DynCHeapObj

Changes: https://git.openjdk.org/jdk/pull/10412/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10412&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8294308
  Stats: 64 lines in 13 files changed: 44 ins; 0 del; 20 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