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

[PPC64] SIGSEGV in C2Compiler::init_c2_runtime() after JDK-8289060

XMLWordPrintable

    • b06
    • ppc

        VM crashes with SIGSEGV during initialization in C2Compiler::init_c2_runtime() while trying to write into an array with negative index: "OptoReg::vm2opto[r->value()] = i;" (c2compiler.cpp:70).
        "r" is a nullptr and the new implementation of "r->value()" yields a negative value. (Calling nullptr->value() is undefined behavior!)

        Note: Vector registers are OptoRegs but don't have a VMReg representation on PPC64.

              mdoerr Martin Doerr
              mdoerr Martin Doerr
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: