RFR: 8367268: Remove unused os::numa_topology_changed()
Joel Sikström
jsikstro at openjdk.org
Tue Sep 9 16:46:00 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:
* Running through tier1 on Oracle supported platforms
-------------
Commit messages:
- 8367268: Remove unused os::numa_topology_changed()
Changes: https://git.openjdk.org/jdk/pull/27176/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27176&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8367268
Stats: 10 lines in 5 files changed: 0 ins; 10 del; 0 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