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

[BACKOUT] Elide more final field's write memory barrier with escape analysis result

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b89
    • Verification:
      Verified

      Backports

        Description

        lots of tests failed due to assert(!had_error) failed: bad dominance :

        Stack: [0xe9439000,0xe94ba000], sp=0xe94b4060, free space=492k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x10f574a] VMError::report_and_die()+0x19a;; VMError::report_and_die()+0x19a
        V [libjvm.so+0x10f6587] crash_handler(int, siginfo*, void*)+0xd7;; crash_handler(int, siginfo*, void*)+0xd7
        C [+0x410] __kernel_rt_sigreturn+0x0
        C [libc.so.6+0x699f0] vsnprintf+0xc0
        V [libjvm.so+0xe464e4] outputStream::print_cr(char const*, ...)+0x64;; outputStream::print_cr(char const*, ...)+0x64
        V [libjvm.so+0x10f49af] VMError::report(outputStream*)+0x148f;; VMError::report(outputStream*)+0x148f
        V [libjvm.so+0x10f574a] VMError::report_and_die()+0x19a;; VMError::report_and_die()+0x19a
        V [libjvm.so+0x10f6587] crash_handler(int, siginfo*, void*)+0xd7;; crash_handler(int, siginfo*, void*)+0xd7
        C [+0x410] __kernel_rt_sigreturn+0x0
        C [libc.so.6+0x699f0] vsnprintf+0xc0
        V [libjvm.so+0xe464e4] outputStream::print_cr(char const*, ...)+0x64;; outputStream::print_cr(char const*, ...)+0x64
        V [libjvm.so+0x10f49af] VMError::report(outputStream*)+0x148f;; VMError::report(outputStream*)+0x148f
        V [libjvm.so+0x10f5c51] VMError::report_and_die()+0x6a1;; VMError::report_and_die()+0x6a1
        V [libjvm.so+0x783406] report_vm_error(char const*, int, char const*, char const*)+0x76;; report_vm_error(char const*, int, char const*, char const*)+0x76
        V [libjvm.so+0xca3042] PhaseIdealLoop::compute_lca_of_uses(Node*, Node*, bool)+0x4a2;; PhaseIdealLoop::compute_lca_of_uses(Node*, Node*, bool)+0x4a2
        V [libjvm.so+0xca3628] PhaseIdealLoop::build_loop_late_post(Node*)+0x138;; PhaseIdealLoop::build_loop_late_post(Node*)+0x138
        V [libjvm.so+0xca3d7c] PhaseIdealLoop::build_loop_late(VectorSet&, Node_List&, Node_Stack&)+0xdc;; PhaseIdealLoop::build_loop_late(VectorSet&, Node_List&, Node_Stack&)+0xdc
        V [libjvm.so+0xca814f] PhaseIdealLoop::build_and_optimize(bool, bool)+0x84f;; PhaseIdealLoop::build_and_optimize(bool, bool)+0x84f
        V [libjvm.so+0x7022da] PhaseIdealLoop::PhaseIdealLoop(PhaseIterGVN&)+0x1ea;; PhaseIdealLoop::PhaseIdealLoop(PhaseIterGVN&)+0x1ea
        V [libjvm.so+0x6ff6ae] Compile::Optimize()+0x8fe;; Compile::Optimize()+0x8fe
        V [libjvm.so+0x70132f] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0x13ff;; Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0x13ff
        V [libjvm.so+0x59ae86] C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x196;; C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x196
        V [libjvm.so+0x70ba0e] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x51e;; CompileBroker::invoke_compiler_on_method(CompileTask*)+0x51e
        V [libjvm.so+0x70c5c0] CompileBroker::compiler_thread_loop()+0x2c0;; CompileBroker::compiler_thread_loop()+0x2c0
        V [libjvm.so+0x105d775] compiler_thread_entry(JavaThread*, Thread*)+0x55;; compiler_thread_entry(JavaThread*, Thread*)+0x55
        V [libjvm.so+0x106ee32] JavaThread::thread_main_inner()+0x202;; JavaThread::thread_main_inner()+0x202
        V [libjvm.so+0x106f186] JavaThread::run()+0x2e6;; JavaThread::run()+0x2e6
        V [libjvm.so+0xe2d390] java_start(Thread*)+0xe0;; java_start(Thread*)+0xe0
        C [libpthread.so.0+0x6a49]
        C [libc.so.6+0xe2aee] clone+0x5e

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  roland Roland Westrelin
                  Reporter:
                  iignatyev Igor Ignatyev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: