RFR: 8297718: Make NMT free:ing protocol more granular [v2]
David Holmes
dholmes at openjdk.org
Thu Dec 8 02:39:15 UTC 2022
On Wed, 7 Dec 2022 19:26:52 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:
> I quickly find this more complex than another line of plain code at the call site would be.
My concern with the latter is the breaking of encapsulation and pollution of the callsite with details it has no business knowing about. To some extent some knowledge has to leak to the callsite to know either which API to call, or which flag parameters to pass, but that should be minimised and as generic as possible.
-------------
PR: https://git.openjdk.org/jdk/pull/11390
More information about the hotspot-runtime-dev
mailing list