Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8285923

[REDO] JDK-8285802 AArch64: Consistently handle offsets in MacroAssembler as 64-bit quantities

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      aarch64
    • OS:
      linux, os_x

      Backports

        Description

        The following tests are failing in the JDK19 CI in Tier1:

        tools/doclint/tool/StatsTest.java
        jdk/javadoc/tool/8224612/OptionsTest.java
        jdk/javadoc/doclet/testDocletExample/TestDocletExample.java

        Here's hs_err_pid snippets from the OptionsTest.java failure:

        # Internal Error (assembler_aarch64.hpp:251), pid=3232143, tid=3232158
        # guarantee(val < (1ULL << nbits)) failed: Field too big for insn
        #
        # JRE version: Java(TM) SE Runtime Environment (19.0+21) (build 19-ea+21-1423)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (19-ea+21-1423, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
        # Problematic frame:
        # V [libjvm.so+0xac4848] Assembler::movz(RegisterImpl const*, unsigned int, unsigned int)+0x138

        <snip>

        --------------- T H R E A D ---------------

        Current thread (0x0000fffde830d5f0): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=3232158, stack(0x0000fffdbeed0000,0x0000fffdbf0d0000)]


        Current CompileTask:
        C2: 1880 2623 4 javadoc.tester.HtmlParser::htmlAttrs (236 bytes)

        Stack: [0x0000fffdbeed0000,0x0000fffdbf0d0000], sp=0x0000fffdbf0cb2c0, free space=2028k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xac4848] Assembler::movz(RegisterImpl const*, unsigned int, unsigned int)+0x138
        V [libjvm.so+0xaac198] MacroAssembler::mov_immediate64(RegisterImpl const*, unsigned long)+0x498
        V [libjvm.so+0xaaf818] MacroAssembler::wrap_adds_subs_imm_insn(RegisterImpl const*, RegisterImpl const*, unsigned long, void (MacroAssembler::*)(RegisterImpl const*, RegisterImpl const*, unsigned int), void (MacroAssembler::*)(RegisterImpl const*, RegisterImpl const*, RegisterImpl const*, Assembler::shift_kind, unsigned int))+0x94
        V [libjvm.so+0x336fe0] overflowAddI_reg_immNode::emit(CodeBuffer&, PhaseRegAlloc*) const+0xbc
        V [libjvm.so+0xb9f4f4] PhaseOutput::scratch_emit_size(Node const*)+0x1a4
        V [libjvm.so+0xb9bdb4] PhaseOutput::shorten_branches(unsigned int*)+0x234
        V [libjvm.so+0xba2b50] PhaseOutput::Output()+0x480
        V [libjvm.so+0x5bf7e4] Compile::Code_Gen()+0x460
        V [libjvm.so+0x5c2c5c] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0xe7c
        V [libjvm.so+0x50be8c] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0xf8
        V [libjvm.so+0x5ca368] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x758
        V [libjvm.so+0x5cb0c8] CompileBroker::compiler_thread_loop()+0x468
        V [libjvm.so+0xd030ec] JavaThread::thread_main_inner()+0xbc
        V [libjvm.so+0xd08b78] Thread::call_run()+0xb8
        V [libjvm.so+0xb8c5cc] thread_native_entry(Thread*)+0xdc
        C [libpthread.so.0+0x7868] start_thread+0x188

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aph Andrew Haley
                Reporter:
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: