RFR: 8367268: Remove unused os::numa_topology_changed() [v2]
Joel Sikström
jsikstro at openjdk.org
Thu Sep 11 08:56:55 UTC 2025
> Hello,
>
> The method os::numa_topology_changed() returns false on all platforms with no callers. It makes sense to remove it as the JVM does not support changing the NUMA topology during runtime, or in other words, hotswapping CPUs. There are a lot of places that break if the NUMA topology would change during runtime.
>
> The last implementation of os::numa_topology_changed() that did something other than just returning false was removed in [JDK-8244224](https://bugs.openjdk.org/browse/JDK-8244224) with the removal of the Solaris and SPARC ports.
>
> I do not see an issue with building on AIX, but would appreciate any feedback on this from AIX maintainers.
>
> Testing:
> * tier1 on Oracle supported platforms
Joel Sikström has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
- Merge branch 'master' into JDK-8367268_numa_topology_changed
- 8367268: Remove unused os::numa_topology_changed()
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27176/files
- new: https://git.openjdk.org/jdk/pull/27176/files/7205d735..0afe7aa4
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27176&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27176&range=00-01
Stats: 6187 lines in 171 files changed: 3564 ins; 2005 del; 618 mod
Patch: https://git.openjdk.org/jdk/pull/27176.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27176/head:pull/27176
PR: https://git.openjdk.org/jdk/pull/27176
More information about the hotspot-runtime-dev
mailing list