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

Avoid early use of limited privilege escalation in InnerClassLambdaMetafactory

    Details

    • Subcomponent:
    • Resolved In Build:
      b115
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      When loading java.lang.invoke infra, the usage of limited version of AccessControl.doPrivileged cause some additional classes (8) to be loaded. Not a big issue really, but we want to improve the startup overhead of this code.

      Use of the unlimited doPrivileged version for instances of GetPropertyAction is done prolifically inside the JDK class library, and this instance doesn't seem to really warrant special treatment.

        Attachments

          Activity

            People

            • Assignee:
              redestad Claes Redestad
              Reporter:
              redestad Claes Redestad
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: