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

Pure-Java implementation of AccessController.doPrivileged

    XMLWordPrintable

Details

    Backports

      Description

        Implement a pure-Java version of AccessController.doPrivileged. This enhancement has several benefits. One, it should improve performance by avoiding calls into the JVM. Currently, applications that don't use a SecurityManager still have to incur the expense of doPrivileged. This enhancement should avoid much of that. Second, a pure-Java implementation of AccessController.doPrivileged will avoid having native frames on the stack, which is desirable for Project Loom (https://openjdk.java.net/projects/loom/).

        Attachments

          1. dean-base.txt
            13 kB
            Eric Caspole
          2. dean-test.txt
            33 kB
            Eric Caspole

          Issue Links

            Activity

              People

                dlong Dean Long
                mullan Sean Mullan
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: