[aarch64-port-dev ] RFR(XS): 8u fails on assert on jtreg compiler/uncommontrap/TestDeoptOOM.java

Anton Kozlov akozlov at azul.com
Fri Aug 11 16:19:42 UTC 2017


Hi,

running fastdebug build of 8u like
 
$ jtreg -jdk:<FASTDEBUG_JDK> -dir:hotspot/test compiler/uncommontrap/TestDeoptOOM.java

causes 

=============== DEBUG MESSAGE: InterpreterMacroAssembler::call_VM_leaf_base: last_sp != NULL ================

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/macroAssembler_aarch64.cpp:2340
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/anton/proj/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp:2340), pid=3703, tid=0x0000007f8b7a0200
#  assert(false) failed: DEBUG MESSAGE: InterpreterMacroAssembler::call_VM_leaf_base: last_sp != NULL
#
# JRE version: OpenJDK Runtime Environment (8.0_102-b15) (build 1.8.0_102-internal-debug-b15)
# Java VM: OpenJDK 64-Bit Embedded Server VM (25.102-b15-debug mixed mode linux-aarch64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /mnt/tornado/test-jtreg/hs_err_pid3703.log
 Locks owned:
Mutex: [0x7f84007b90/0x1] tty_lock - owner: 0x7f8400b800
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 547800875520
Dumping core ...
Aborted

The reason is that exception path of interpreter deopt entry doesn't clear last_sp.

Fix is http://cr.openjdk.java.net/~akozlov/aarch64-debug-deoptoom/webrev.00/

jdk9 and 10 are unaffected.

Thanks,
Anton


More information about the aarch64-port-dev mailing list