RFR: 8227587: Add internal privileged System.loadLibrary
Roger.Riggs at oracle.com
Thu Jul 11 14:10:59 UTC 2019
316: Add @param tag
System.java: 2282, 2287
Runtime.loadLibrary0 makes a second check for a security manager.
Is there any potential gain by calling ClassLoader.loadLibrary directly?
None of the internal uses would have a separatorChar.
I expect most of the files need a copyright update.
The script in <repo>/make/scripts/update_copyright_year.sh should do the
work for modified files.
On 7/11/19 9:43 AM, Claes Redestad wrote:
> by adding a method to load libraries with privileges to JavaLangAccess,
> we can simplify a slew of places where we are currently implementing
> adhoc privileged actions. This is a tiny but measurable gain on a range
> of startup tests.
> Webrev: http://cr.openjdk.java.net/~redestad/8227587/open.00
> Bug: https://bugs.openjdk.java.net/browse/JDK-8227587
> Testing: tier1-3
More information about the core-libs-dev