java/util/concurrent/FutureTask/CancelledFutureLoops.java
java/util/concurrent/locks/Lock/CheckedLockLoops.java
BT:
/home/amit/jdk/src/hotspot/cpu/s390/c1_LIRGenerator_s390.cpp:500:55: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
#0 0x3ffb346dd2f in LIRGenerator::do_ArithmeticOp_Int(ArithmeticOp*) /home/amit/jdk/src/hotspot/cpu/s390/c1_LIRGenerator_s390.cpp:500
#1 0x3ffb33f8e8f in LIRGenerator::walk(Instruction*) /home/amit/jdk/src/hotspot/share/c1/c1_LIRGenerator.cpp:394
#2 0x3ffb346c2ab in LIRItem::set_instruction(Instruction*) /home/amit/jdk/src/hotspot/share/c1/c1_LIRGenerator.hpp:631
#3 0x3ffb346c2ab in LIRItem::LIRItem(Instruction*, LIRGenerator*) /home/amit/jdk/src/hotspot/share/c1/c1_LIRGenerator.hpp:617
#4 0x3ffb346c2ab in LIRGenerator::do_ArithmeticOp_Int(ArithmeticOp*) /home/amit/jdk/src/hotspot/cpu/s390/c1_LIRGenerator_s390.cpp:435
#5 0x3ffb33f8813 in LIRGenerator::do_root(Instruction*) /home/amit/jdk/src/hotspot/share/c1/c1_LIRGenerator.cpp:379
#6 0x3ffb34068ab in non-virtual thunk to LIRGenerator::block_do(BlockBegin*) (/home/amit/jdk/build/linux-s390x-server-fastdebug/images/jdk/lib/server/libjvm.so+0x3e868ab)
#7 0x3ffb3335ccb in BlockList::iterate_forward(BlockClosure*) /home/amit/jdk/src/hotspot/share/c1/c1_Instruction.cpp:891
#8 0x3ffb325931b in Compilation::emit_lir() /home/amit/jdk/src/hotspot/share/c1/c1_Compilation.cpp:264
#9 0x3ffb3261d09 in Compilation::compile_java_method() /home/amit/jdk/src/hotspot/share/c1/c1_Compilation.cpp:405
#10 0x3ffb3264035 in Compilation::compile_method() /home/amit/jdk/src/hotspot/share/c1/c1_Compilation.cpp:478
#11 0x3ffb32656d3 in Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*) /home/amit/jdk/src/hotspot/share/c1/c1_Compilation.cpp:608
#12 0x3ffb326a343 in Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*) /home/amit/jdk/src/hotspot/share/c1/c1_Compiler.cpp:263
#13 0x3ffb3a88747 in CompileBroker::invoke_compiler_on_method(CompileTask*) /home/amit/jdk/src/hotspot/share/compiler/compileBroker.cpp:2319
#14 0x3ffb3a8a2fd in CompileBroker::compiler_thread_loop() /home/amit/jdk/src/hotspot/share/compiler/compileBroker.cpp:1977
#15 0x3ffb451d769 in JavaThread::thread_main_inner() /home/amit/jdk/src/hotspot/share/runtime/javaThread.cpp:772
#16 0x3ffb595abb1 in Thread::call_run() /home/amit/jdk/src/hotspot/share/runtime/thread.cpp:232
#17 0x3ffb5240b8f in thread_native_entry /home/amit/jdk/src/hotspot/os/linux/os_linux.cpp:849
#18 0x3ffb8c16295 in start_thread nptl/pthread_create.c:442
#19 0x3ffb8c8ff8d (/lib/s390x-linux-gnu/libc.so.6+0x10ff8d)
java/util/concurrent/locks/Lock/CheckedLockLoops.java
BT:
/home/amit/jdk/src/hotspot/cpu/s390/c1_LIRGenerator_s390.cpp:500:55: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
#0 0x3ffb346dd2f in LIRGenerator::do_ArithmeticOp_Int(ArithmeticOp*) /home/amit/jdk/src/hotspot/cpu/s390/c1_LIRGenerator_s390.cpp:500
#1 0x3ffb33f8e8f in LIRGenerator::walk(Instruction*) /home/amit/jdk/src/hotspot/share/c1/c1_LIRGenerator.cpp:394
#2 0x3ffb346c2ab in LIRItem::set_instruction(Instruction*) /home/amit/jdk/src/hotspot/share/c1/c1_LIRGenerator.hpp:631
#3 0x3ffb346c2ab in LIRItem::LIRItem(Instruction*, LIRGenerator*) /home/amit/jdk/src/hotspot/share/c1/c1_LIRGenerator.hpp:617
#4 0x3ffb346c2ab in LIRGenerator::do_ArithmeticOp_Int(ArithmeticOp*) /home/amit/jdk/src/hotspot/cpu/s390/c1_LIRGenerator_s390.cpp:435
#5 0x3ffb33f8813 in LIRGenerator::do_root(Instruction*) /home/amit/jdk/src/hotspot/share/c1/c1_LIRGenerator.cpp:379
#6 0x3ffb34068ab in non-virtual thunk to LIRGenerator::block_do(BlockBegin*) (/home/amit/jdk/build/linux-s390x-server-fastdebug/images/jdk/lib/server/libjvm.so+0x3e868ab)
#7 0x3ffb3335ccb in BlockList::iterate_forward(BlockClosure*) /home/amit/jdk/src/hotspot/share/c1/c1_Instruction.cpp:891
#8 0x3ffb325931b in Compilation::emit_lir() /home/amit/jdk/src/hotspot/share/c1/c1_Compilation.cpp:264
#9 0x3ffb3261d09 in Compilation::compile_java_method() /home/amit/jdk/src/hotspot/share/c1/c1_Compilation.cpp:405
#10 0x3ffb3264035 in Compilation::compile_method() /home/amit/jdk/src/hotspot/share/c1/c1_Compilation.cpp:478
#11 0x3ffb32656d3 in Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, bool, DirectiveSet*) /home/amit/jdk/src/hotspot/share/c1/c1_Compilation.cpp:608
#12 0x3ffb326a343 in Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*) /home/amit/jdk/src/hotspot/share/c1/c1_Compiler.cpp:263
#13 0x3ffb3a88747 in CompileBroker::invoke_compiler_on_method(CompileTask*) /home/amit/jdk/src/hotspot/share/compiler/compileBroker.cpp:2319
#14 0x3ffb3a8a2fd in CompileBroker::compiler_thread_loop() /home/amit/jdk/src/hotspot/share/compiler/compileBroker.cpp:1977
#15 0x3ffb451d769 in JavaThread::thread_main_inner() /home/amit/jdk/src/hotspot/share/runtime/javaThread.cpp:772
#16 0x3ffb595abb1 in Thread::call_run() /home/amit/jdk/src/hotspot/share/runtime/thread.cpp:232
#17 0x3ffb5240b8f in thread_native_entry /home/amit/jdk/src/hotspot/os/linux/os_linux.cpp:849
#18 0x3ffb8c16295 in start_thread nptl/pthread_create.c:442
#19 0x3ffb8c8ff8d (/lib/s390x-linux-gnu/libc.so.6+0x10ff8d)
- duplicates
-
JDK-8344026 Ubsan: prevent potential integer overflow in c1_LIRGenerator_<arch>.cpp file
-
- Resolved
-