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

Unnecessary work in deoptimizing recompilation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • core-libs
    • b34
    • generic
    • generic

        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.

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

                Created:
                Updated:
                Resolved: