-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 8, 26
-
Component/s: hotspot
JVM crashes with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked" when run with large value for PreallocatedOutOfMemoryErrorCount
java -XX:PreallocatedOutOfMemoryErrorCount=18446744073709551615 -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error ([...]hotspot/share/interpreter/linkResolver.cpp:1434),
[...]
# assert(resolved_method->method_holder()->is_linked()) failed: must be linked
===
Unsound cast immediately precedes the crash when using an unreasonably high value for PreallocatedOutOfMemoryErrorCount (flag is develop). Maybe the flag should be constrained to more reasonable values.
java -XX:PreallocatedOutOfMemoryErrorCount=18446744073709551615 -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error ([...]hotspot/share/interpreter/linkResolver.cpp:1434),
[...]
# assert(resolved_method->method_holder()->is_linked()) failed: must be linked
===
Unsound cast immediately precedes the crash when using an unreasonably high value for PreallocatedOutOfMemoryErrorCount (flag is develop). Maybe the flag should be constrained to more reasonable values.
- links to
-
Review(master)
openjdk/jdk/29027