-
Bug
-
Resolution: Fixed
-
P2
-
9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8197255 | 8u192 | David Holmes | P2 | Resolved | Fixed | b01 |
JDK-8195260 | 8u172 | David Holmes | P2 | Resolved | Fixed | b03 |
JDK-8190026 | 8u162 | David Holmes | P2 | Resolved | Fixed | b04 |
JDK-8177403 | 8u161 | David Holmes | P2 | Resolved | Fixed | b01 |
JDK-8166443 | 8u152 | Shafi Ahmad | P2 | Closed | Fixed | b01 |
JDK-8185183 | 8u144 | David Holmes | P2 | Resolved | Fixed | b31 |
JDK-8183055 | 8u141 | David Holmes | P2 | Resolved | Fixed | b31 |
JDK-8177489 | 8u131 | David Holmes | P2 | Resolved | Fixed | b31 |
JDK-8175905 | 8u121 | David Holmes | P2 | Closed | Fixed | b34 |
JDK-8192172 | emb-8u161 | David Holmes | P2 | Resolved | Fixed | b01 |
numactl -m 0 -c 0 /localhome/java/jdk9-107/bin/java -XX:+UseNUMA -version
The crash is reproducible starting from JDK 9 build 107.
Relevant pieces of the code:
size_t cpu_num = os::active_processor_count();
...
cpu_to_node()->at_grow(cpu_num - 1);
...
for (size_t k = 0; k < BitsPerCLong; k++) {
if (cpu_map[j] & (1UL << k)) {
cpu_to_node()->at_put(j * BitsPerCLong + k, i);
}
}
On my 32 hw thread machine (2 socket x 8 core x 2 ht) cpu_num becomes 16 when numactl -c 0 is used, and we write outside of the array when K becomes 16.
os::active_processor_count() was changed in build 107 with the changeset for:
http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/c5480d4abfe4
- backported by
-
JDK-8177403 Crash in rebuild_cpu_to_node_map
- Resolved
-
JDK-8177489 Crash in rebuild_cpu_to_node_map
- Resolved
-
JDK-8183055 Crash in rebuild_cpu_to_node_map
- Resolved
-
JDK-8185183 Crash in rebuild_cpu_to_node_map
- Resolved
-
JDK-8190026 Crash in rebuild_cpu_to_node_map
- Resolved
-
JDK-8192172 Crash in rebuild_cpu_to_node_map
- Resolved
-
JDK-8195260 Crash in rebuild_cpu_to_node_map
- Resolved
-
JDK-8197255 Crash in rebuild_cpu_to_node_map
- Resolved
-
JDK-8166443 Crash in rebuild_cpu_to_node_map
- Closed
-
JDK-8175905 Crash in rebuild_cpu_to_node_map
- Closed
- relates to
-
JDK-6515172 Runtime.availableProcessors() ignores Linux taskset command
- Resolved