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

Unnecessary work in deoptimizing recompilation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 9
    • core-libs
    • b34
    • generic
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: