-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P1
-
Affects Version/s: repo-valhalla
-
Component/s: hotspot
-
generic
-
windows
It seems the recent measures to prevent overflows introduced some narrowing conversions that cause a build failure on Windows.
[2025-11-24T10:18:28,449Z] * For target hotspot_variant-server_libjvm_objs_c1_LIRGenerator.obj:
[2025-11-24T10:18:28,449Z] c1_LIRGenerator.cpp
[2025-11-24T10:18:28,449Z] c:\src\hotspot\share\c1\c1_LIRGenerator.cpp(2313): error C2220: the following warning is treated as an error
[2025-11-24T10:18:28,449Z] c:\src\hotspot\share\c1\c1_LIRGenerator.cpp(2313): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
[2025-11-24T10:18:28,449Z] ... (rest of output omitted)
[2025-11-24T10:18:28,449Z] * For target hotspot_variant-server_libjvm_objs_static_c1_LIRGenerator.obj:
[2025-11-24T10:18:28,449Z] c1_LIRGenerator.cpp
[2025-11-24T10:18:28,449Z] c:\src\hotspot\share\c1\c1_LIRGenerator.cpp(2313): error C2220: the following warning is treated as an error
[2025-11-24T10:18:28,449Z] c:\src\hotspot\share\c1\c1_LIRGenerator.cpp(2313): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
[2025-11-24T10:18:28,449Z] ... (rest of output omitted)
[2025-11-24T10:18:28,449Z]
[2025-11-24T10:18:28,449Z] === End of repeated output ===
[2025-11-24T10:18:28,449Z] * For target hotspot_variant-server_libjvm_objs_c1_LIRGenerator.obj:
[2025-11-24T10:18:28,449Z] c1_LIRGenerator.cpp
[2025-11-24T10:18:28,449Z] c:\src\hotspot\share\c1\c1_LIRGenerator.cpp(2313): error C2220: the following warning is treated as an error
[2025-11-24T10:18:28,449Z] c:\src\hotspot\share\c1\c1_LIRGenerator.cpp(2313): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
[2025-11-24T10:18:28,449Z] ... (rest of output omitted)
[2025-11-24T10:18:28,449Z] * For target hotspot_variant-server_libjvm_objs_static_c1_LIRGenerator.obj:
[2025-11-24T10:18:28,449Z] c1_LIRGenerator.cpp
[2025-11-24T10:18:28,449Z] c:\src\hotspot\share\c1\c1_LIRGenerator.cpp(2313): error C2220: the following warning is treated as an error
[2025-11-24T10:18:28,449Z] c:\src\hotspot\share\c1\c1_LIRGenerator.cpp(2313): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
[2025-11-24T10:18:28,449Z] ... (rest of output omitted)
[2025-11-24T10:18:28,449Z]
[2025-11-24T10:18:28,449Z] === End of repeated output ===
- caused by
-
JDK-8371604 [lworld] SIGSEGV in InlineKlass::is_payload_marked_as_null
-
- Resolved
-
- links to
-
Commit(lworld)
openjdk/valhalla/5ab11799
-
Review(lworld)
openjdk/valhalla/1758