RFR: 8267945: ZGC: Revert NUMA changes (JDK-8266217 and JDK-8241354) after JDK-8241423

Jie Fu jiefu at openjdk.java.net
Fri May 28 15:05:18 UTC 2021


Hi all,

As discussed here [1], JDK-8266217 and JDK-8241354 make no sense after JDK-8241423.

8266217: ZGC: Improve the -Xlog:gc+init output for NUMA
8241354: ZGC still crashes in containers with NUMA due to get_mempolicy is disabled by default


It would be better to revert the changes.

The patch was prepared like this:

# Revert JDK-8266217
git diff 5ecef01c4a9 5d8c1cc8a05 > r8266217.diff
patch -p1 < r8266217.diff   # patch applied cleanly

# Revert JDK-8241354
git diff 794cefe8f92 23180f848f0 > r8241354.diff
patch -p1 < r8241354.diff   # patch applied cleanly


Testing:
  - hotspot/jtreg/gc/z on Linux/x64 and MacOSX.

Thanks.
Best regards,
Jie

[1] https://github.com/openjdk/jdk/pull/4205#issuecomment-849390011

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

Commit messages:
 - 8267945: ZGC: Revert NUMA changes (JDK-8266217 and JDK-8241354) after JDK-8241423

Changes: https://git.openjdk.java.net/jdk/pull/4252/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4252&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267945
  Stats: 56 lines in 6 files changed: 0 ins; 38 del; 18 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4252.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4252/head:pull/4252

PR: https://git.openjdk.java.net/jdk/pull/4252


More information about the hotspot-dev mailing list