Integrated: 8255716: AArch64: Regression: JVM crashes if manually offline a core
Patrick Zhang
qpzhang at openjdk.java.net
Tue Nov 3 09:30:58 UTC 2020
On Sun, 1 Nov 2020 12:26:15 GMT, Patrick Zhang <qpzhang at openjdk.org> wrote:
> Please review this change that removed the unnecessary check **cpu_lines == os::processor_count()** from VM_Version::get_os_cpu_info inside src/hotspot/os_cpu/linux_aarch64/vm_version_linux_aarch64.cpp.
>
> This **assertion** is practically not needed. While a test system with some cores intentionally turned off, e.g. via echo 0 > /sys/devices/system/cpu/cpu1/online, **java -version** would crash, building openjdk on this system would fail too.
>
> This regression issue was introduced by https://github.com/openjdk/jdk/commit/ec9bee68
>
> Testing:
> - java -version, building openjdk as smoke tests
> - jtreg tier1 as sanity check
This pull request has now been integrated.
Changeset: 36998b00
Author: Patrick Zhang <qpzhang at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/36998b00
Stats: 3 lines in 1 file changed: 0 ins; 3 del; 0 mod
8255716: AArch64: Regression: JVM crashes if manually offline a core
Reviewed-by: aph, adinn, akozlov
-------------
PR: https://git.openjdk.java.net/jdk/pull/983
More information about the hotspot-runtime-dev
mailing list