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

Johan Sjölen jsjolen at openjdk.org
Fri Oct 7 11:12:30 UTC 2022


On Fri, 23 Sep 2022 17:08:46 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: b38bed6d
Author:    Johan Sjölen <jsjolen at openjdk.org>
Committer: Stefan Karlsson <stefank at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b38bed6d0ed6e1590a695a13a0d0c099e2bdd13a
Stats:     102 lines in 14 files changed: 65 ins; 0 del; 37 mod

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

Reviewed-by: coleenp, stefank, kbarrett

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

PR: https://git.openjdk.org/jdk/pull/10412


More information about the serviceability-dev mailing list