RFR: 8271624: Avoid unnecessary ThreadGroup.checkAccess calls when creating Threads
Claes Redestad
redestad at openjdk.java.net
Mon Aug 2 18:10:48 UTC 2021
Trivially avoid some redundant calls when creating threads. (ThreadGroup.checkAccess is final, and all it does is call security.checkAccess(g) if there's a SM installed)
-------------
Commit messages:
- Merge branch 'master' into thread_access
- Avoid calling ThreadGroup.checkAccess when no SecurityManager is installed
Changes: https://git.openjdk.java.net/jdk/pull/4959/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4959&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8271624
Stats: 8 lines in 1 file changed: 4 ins; 4 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/4959.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4959/head:pull/4959
PR: https://git.openjdk.java.net/jdk/pull/4959
More information about the core-libs-dev
mailing list