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

Unnecessary work in deoptimizing recompilation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b34
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        There's a whole unnecessary reparse and compilation up to bytecode as part of the deoptimizing recompilation pipeline in CompiledFunction.handleRewriteException:

                FunctionNode fn2 = effectiveOptInfo.reparse();
                fn2 = compiler.compile(fn2, CompilationPhases.COMPILE_UPTO_BYTECODE);

        It's possibly a remnant of some debugging that slipped through unnoticed. This probably almost doubled the deoptimizing recompilation work.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  attila Attila Szegedi
                  Reporter:
                  attila Attila Szegedi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: