Integrated: 8366474: Rename MetaspaceObj::is_shared() to MetaspaceObj::in_aot_cache()

Ioi Lam iklam at openjdk.org
Thu Sep 4 04:50:48 UTC 2025


On Sat, 30 Aug 2025 02:13:20 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> This PR is one (of many) steps in [JDK-8366473](https://bugs.openjdk.org/browse/JDK-8366473) (Refactor CDS source code with new AOT terminology):
> 
> Rename `is_shared()` in `Metaspace` (and various other classes) to `in_aot_cache()` to reflect its true meaning:
> - tests if an object is inside the AOT cache's metaspace region.
> 
> Also various forms of  "shared metaspace" are updated to "aot metaspace"
> 
> Please start your review with allocations.hpp

This pull request has now been integrated.

Changeset: 90a2db1e
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/90a2db1ecbc3ea25a8e9f15b34a3d8f3941b60d0
Stats:     204 lines in 55 files changed: 3 ins; 0 del; 201 mod

8366474: Rename MetaspaceObj::is_shared() to MetaspaceObj::in_aot_cache()

Reviewed-by: liach, kvn

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

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


More information about the hotspot-dev mailing list