mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8253563: Change sun.security.jca.Providers.threadLists to be ThreadLocal
Reviewed-by: alanb
This commit is contained in:
parent
c7f0064062
commit
df1f132b67
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ import java.security.Provider;
|
||||||
public class Providers {
|
public class Providers {
|
||||||
|
|
||||||
private static final ThreadLocal<ProviderList> threadLists =
|
private static final ThreadLocal<ProviderList> threadLists =
|
||||||
new InheritableThreadLocal<>();
|
new ThreadLocal<>();
|
||||||
|
|
||||||
// number of threads currently using thread-local provider lists
|
// number of threads currently using thread-local provider lists
|
||||||
// tracked to allow an optimization if == 0
|
// tracked to allow an optimization if == 0
|
||||||
|
@ -205,7 +205,7 @@ public class Providers {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Methods to manipulate the thread local provider list. It is for use by
|
* Methods to manipulate the thread local provider list. It is for use by
|
||||||
* JAR verification (see above) and the SunJSSE FIPS mode only.
|
* JAR verification (see above).
|
||||||
*
|
*
|
||||||
* It should be used as follows:
|
* It should be used as follows:
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue