RFR: 8374549: Extend MetaspaceClosure to cover non-MetaspaceObj types
Ioi Lam
iklam at openjdk.org
Mon Jan 26 18:47:31 UTC 2026
On Fri, 23 Jan 2026 16:52:35 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:
> I think we should also move `_aot_metaspace_top` and `_aot_metaspace_base` out of `MetaspaceObj `. Seems like `AOTMetaspace` is a better place to store the bounds. I guess it can be done in a follow-up pr.
`allocation.h` is included by every cpp file. If we move these as members of the `AOTMetaspace` class, that means all files will include aotMetaspace.hpp, which is large.
We should probably break up `AOTMetaspace` into small pieces first, perhaps in a future RFE.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29049#issuecomment-3801139929
More information about the hotspot-dev
mailing list