Integrated: 8374308: ImageBufferCache has no effect and can be removed
David Beaumont
duke at openjdk.org
Tue Jan 6 19:58:27 UTC 2026
On Mon, 5 Jan 2026 17:19:50 GMT, David Beaumont <duke at openjdk.org> wrote:
> Remove ineffective/unused ImageBufferCache class, and simplify callers / remove dead code.
>
> I removed the release methods in the internal classes, but the public ModuleReader API method is still there (the override can go away though since the default implementation also tests for non-null, so removing the override has no risk).
>
> I suspect there are no implementations of ModuleReader that implement release semantics after this change, so perhaps we could relax the documentation around it? Thoughts welcome.
This pull request has now been integrated.
Changeset: 7c979c14
Author: David Beaumont <david.beaumont at oracle.com>
Committer: Roger Riggs <rriggs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/7c979c148724ab7de650593caa22df8405d740e5
Stats: 214 lines in 4 files changed: 5 ins; 198 del; 11 mod
8374308: ImageBufferCache has no effect and can be removed
Reviewed-by: alanb, rriggs
-------------
PR: https://git.openjdk.org/jdk/pull/29043
More information about the core-libs-dev
mailing list