Hi Claes,

JavaLangAccess.java:
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.

Roger


On 7/11/19 9:43 AM, Claes Redestad wrote:
Hi,

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

Thanks!

/Claes

Reply via email to