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

Reorder short-circuit tests in ApplySpecialization to run cheapest first

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b82
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Reorder short-circuit tests in ApplySpecialization to run cheapest first. Specifically, the Global.isBuiltinFunctionPrototypeApply() should come after all flag checks. Another cheap flag test that can short circuit more costly traversal (hasApply) is FunctionNode.needsArguments()

          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: