/openjdk10/jdk/src/java.desktop/share/classes/com/sun/beans/introspect/ |
H A D | ClassInfo.java | 27 import com.sun.beans.util.Cache; 37 private static final Cache<Class<?>,ClassInfo> CACHE 38 = new Cache<Class<?>,ClassInfo>(Cache.Kind.SOFT, Cache.Kind.SOFT) {
|
/openjdk10/jdk/test/java/beans/Introspector/ |
H A D | TestCacheRecursion.java | 24 import com.sun.beans.util.Cache; 29 * @summary Tests Cache recursion 38 private static final Cache<Class<?>,Boolean> CACHE 39 = new Cache<Class<?>,Boolean>(Cache.Kind.WEAK, Cache.Kind.STRONG) {
|
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/beans/finder/ |
H A D | ConstructorFinder.java | 27 import com.sun.beans.util.Cache; 32 import static com.sun.beans.util.Cache.Kind.SOFT; 45 private static final Cache<Signature, Constructor<?>> CACHE = new Cache<Signature, Constructor<?>>(SOFT, SOFT) {
|
H A D | MethodFinder.java | 28 import com.sun.beans.util.Cache; 36 import static com.sun.beans.util.Cache.Kind.SOFT; 49 private static final Cache<Signature, Method> CACHE = new Cache<Signature, Method>(SOFT, SOFT) {
|
/openjdk10/jdk/src/java.base/share/classes/java/nio/charset/ |
H A D | CoderResult.java | 194 private abstract static class Cache { class in class:CoderResult 220 private static Cache malformedCache 221 = new Cache() { 239 private static Cache unmappableCache 240 = new Cache() {
|
/openjdk10/jdk/src/java.base/share/classes/sun/nio/cs/ |
H A D | ThreadLocalCoders.java | 40 private abstract static class Cache { class in class:ThreadLocalCoders 46 Cache(int size) { method in class:ThreadLocalCoders.Cache 88 private static Cache decoderCache = new Cache(CACHE_SIZE) { 112 private static Cache encoderCache = new Cache(CACHE_SIZE) {
|
/openjdk10/jdk/src/jdk.jdi/share/classes/com/sun/tools/jdi/ |
H A D | ClassLoaderReferenceImpl.java | 43 private static class Cache extends ObjectReferenceImpl.Cache { class in class:ClassLoaderReferenceImpl 47 protected ObjectReferenceImpl.Cache newCache() { 48 return new Cache(); 74 Cache local = (Cache)getCache();
|
H A D | ThreadGroupReferenceImpl.java | 44 private static class Cache extends ObjectReferenceImpl.Cache { class in class:ThreadGroupReferenceImpl 48 protected ObjectReferenceImpl.Cache newCache() { 49 return new Cache(); 115 Cache local = (Cache)getCache();
|
H A D | VMState.java | 55 private static class Cache { class in class:VMState 60 private Cache cache = null; // synchronized (this) 61 private static final Cache markerCache = new Cache(); 75 private Cache getCache() { 78 cache = new Cache(); 199 Cache local = getCache(); 226 Cache local = getCache();
|
H A D | ObjectReferenceImpl.java | 59 protected static class Cache { class in class:ObjectReferenceImpl 63 private static final Cache noInitCache = new Cache(); 64 private static final Cache markerCache = new Cache(); 65 private Cache cache = noInitCache; 80 protected Cache newCache() { 81 return new Cache(); 84 protected Cache getCache() { 480 Cache loca [all...] |
H A D | ThreadReferenceImpl.java | 127 private static class Cache extends ObjectReferenceImpl.Cache { class in class:ThreadReferenceImpl 130 protected ObjectReferenceImpl.Cache newCache() { 131 return new Cache(); 180 Cache local = (Cache)getCache();
|
/openjdk10/jdk/test/java/util/LinkedHashMap/ |
H A D | Cache.java | 32 public class Cache { class
|
/openjdk10/jdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/ |
H A D | KeyCache.java | 33 import sun.security.util.Cache; 51 private final Cache<IdentityWrapper, P11Key> strongCache; 56 strongCache = Cache.newHardMemoryCache(16);
|
/openjdk10/jdk/src/java.base/share/classes/sun/security/ssl/ |
H A D | SSLSessionContextImpl.java | 36 import sun.security.util.Cache; 40 private Cache<SessionId, SSLSessionImpl> sessionCache; 42 private Cache<String, SSLSessionImpl> sessionHostPortCache; 53 sessionCache = Cache.newSoftMemoryCache(cacheLimit, timeout); 54 sessionHostPortCache = Cache.newSoftMemoryCache(cacheLimit, timeout); 232 implements Cache.CacheVisitor<SessionId, SSLSessionImpl> {
|
/openjdk10/jdk/src/java.base/share/classes/sun/security/util/ |
H A D | Cache.java | 60 * Cache sizing: the memory cache is implemented on top of a LinkedHashMap. 72 public abstract class Cache<K,V> { class 74 protected Cache() { method in class:Cache 122 public static <K,V> Cache<K,V> newSoftMemoryCache(int size) { 131 public static <K,V> Cache<K,V> newSoftMemoryCache(int size, int timeout) { 139 public static <K,V> Cache<K,V> newHardMemoryCache(int size) { 147 public static <K,V> Cache<K,V> newNullCache() { 148 return (Cache<K,V>) NullCache.INSTANCE; 156 public static <K,V> Cache<K,V> newHardMemoryCache(int size, int timeout) { 203 class NullCache<K,V> extends Cache< [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/beans/util/ |
H A D | Cache.java | 35 * An entry in a {@code Cache} will automatically be removed 41 public abstract class Cache<K,V> { class 63 * Constructs an empty {@code Cache}. 72 public Cache(Kind keyKind, Kind valueKind) { method in class:Cache 77 * Constructs an empty {@code Cache} 89 public Cache(Kind keyKind, Kind valueKind, boolean identity) { method in class:Cache 209 * This is critical because {@code Cache} uses power-of-two length hash tables, 337 this.key = Cache.this.keyKind.create(this, key, Cache.this.queue); 338 this.value = Cache [all...] |
/openjdk10/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/ |
H A D | JAXB.java | 106 private static final class Cache { class in class:JAXB 110 public Cache(Class type) throws JAXBException { method in class:JAXB.Cache 117 * Cache. We don't want to prevent the {@link Cache#type} from GC-ed, 120 private static volatile WeakReference<Cache> cache; 128 * should be thread-safe thanks to the immutable {@link Cache} and {@code volatile}. 131 WeakReference<Cache> c = cache; 133 Cache d = c.get(); 139 Cache d = new Cache(typ [all...] |
/openjdk10/jdk/src/java.desktop/share/native/liblcms/ |
H A D | cmsxform.c | 517 _cmsCACHE Cache; local 527 memcpy(&Cache, &p->Cache, sizeof(Cache)); 541 if (memcmp(wIn, Cache.CacheIn, sizeof(Cache.CacheIn)) == 0) { 543 memcpy(wOut, Cache.CacheOut, sizeof(Cache.CacheOut)); 548 memcpy(Cache.CacheIn, wIn, sizeof(Cache 572 _cmsCACHE Cache; local [all...] |
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ |
H A D | AuthenticationFilter.java | 110 Cache cache = getCache(e); 187 Cache cache = getCache(exchange); 262 static final WeakHashMap<HttpClientImpl,Cache> caches = new WeakHashMap<>(); 264 static synchronized Cache getCache(MultiExchange<?,?> exchange) { 266 Cache c = caches.get(client); 268 c = new Cache(); 274 // Note: Make sure that Cache and CacheEntry do not keep any strong 277 static class Cache { class in class:AuthenticationFilter
|
/openjdk10/jdk/src/java.base/share/classes/sun/security/provider/ |
H A D | X509Factory.java | 39 import sun.security.util.Cache; 69 private static final Cache<Object, X509CertImpl> certCache 70 = Cache.newSoftMemoryCache(750); 71 private static final Cache<Object, X509CRLImpl> crlCache 72 = Cache.newSoftMemoryCache(750); 218 private static synchronized <K,V> V getFromCache(Cache<K,V> cache, 220 Object key = new Cache.EqualByteArray(encoding); 227 private static synchronized <V> void addToCache(Cache<Object, V> cache, 232 Object key = new Cache.EqualByteArray(encoding);
|
/openjdk10/jdk/src/java.base/share/classes/sun/security/provider/certpath/ |
H A D | X509CertificatePair.java | 39 import sun.security.util.Cache; 82 private static final Cache<Object, X509CertificatePair> cache 83 = Cache.newSoftMemoryCache(750); 141 Object key = new Cache.EqualByteArray(encoded); 147 key = new Cache.EqualByteArray(pair.encoded);
|
/openjdk10/jdk/src/java.naming/share/classes/sun/security/provider/certpath/ldap/ |
H A D | LDAPCertStore.java | 32 import sun.security.util.Cache; 192 private static final Cache<Key, LDAPCertStoreImpl> 193 certStoreCache = Cache.newSoftMemoryCache(185);
|
/openjdk10/jdk/test/java/net/ResponseCache/ |
H A D | Test2.java | 46 static class Cache extends ResponseCache { class in class:Test2 75 ResponseCache.setDefault(new Cache());
|
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/font/ |
H A D | CCharToGlyphMapper.java | 33 private Cache cache = new Cache(); 138 private class Cache { class in class:CCharToGlyphMapper 146 Cache() { method in class:CCharToGlyphMapper.Cache
|
/openjdk10/jdk/src/java.base/share/classes/sun/util/locale/ |
H A D | BaseLocale.java | 42 private static final Cache CACHE = new Cache(); 284 private static class Cache extends LocaleObjectCache<Key, BaseLocale> { class in class:BaseLocale 286 public Cache() { method in class:BaseLocale.Cache
|