/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Brush.h | 38 * Get a GDI object from its respective cache. If it doesn't exist 49 * zero, notify the cache that the object can be safely removed. 50 * The cache will eventually delete the GDI object and this wrapper. 58 static GDIHashtable cache; member in class:AwtBrush
|
H A D | awt_Pen.h | 38 * Get a GDI object from its respective cache. If it doesn't exist 49 * zero, notify the cache that the object can be safely removed. 50 * The cache will eventually delete the GDI object and this wrapper. 58 static GDIHashtable cache; member in class:AwtPen
|
/openjdk7/jdk/test/java/lang/ThreadLocal/ |
H A D | ImmutableLocal.java | 44 private static final ThreadLocal cache = new ImmutableThreadLocal() { field in class:ImmutableLocal 51 System.out.println("cache.get() = " + cache.get());
|
/openjdk7/jdk/test/javax/xml/crypto/dsig/ |
H A D | SignatureValidator.java | 49 boolean validate(String fn, KeySelector ks, boolean cache) argument 51 return validate(fn, ks, null, cache); 55 boolean cache) throws Exception { 69 if (cache) { 79 // Check reference cache 80 if (cache) { 54 validate(String fn, KeySelector ks, URIDereferencer ud, boolean cache) argument
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/ |
H A D | Utils.java | 39 static final Hashtable cache; field in class:Utils.CacheHolder 41 cache = new Hashtable(); 63 Object o = CacheHolder.cache.get(classname); 66 // class was not in the cache, so try to load it 72 CacheHolder.cache.put(classname, c);
|
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/ |
H A D | DirectoryLoader.java | 47 private Hashtable cache; field in class:DirectoryLoader 54 cache = new Hashtable(); 80 // Do we already have it in the cache? 82 result = (Class) cache.get(className); 114 // Add to cache... 116 cache.put(className, result);
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | ScriptRunData.java | 41 private static int cache = 0; field in class:ScriptRunData 44 if (cp >= data[cache] && cp < data[cache+2]) { 45 return data[cache+1]; 62 cache = index;
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/util/ |
H A D | CacheMap.java | 68 cache(key); 73 cache(Util.<K>cast(key)); 81 cache but never removed. But the behavior is not wrong if 85 private void cache(K key) { method in class:CacheMap 86 Iterator<SoftReference<K>> it = cache.iterator(); 95 cache.add(0, sref); 100 int size = cache.size(); 107 cache.add(0, new SoftReference<K>(key)); 118 private final LinkedList<SoftReference<K>> cache = field in class:CacheMap
|
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/types/ |
H A D | TypeToJType.java | 57 private CacheMap<Type,JType> cache = new CacheMap<Type,JType>(); field in class:TypeToJType 59 return cache.get(type, new Map0<JType>(){
|
/openjdk7/hotspot/test/compiler/6724218/ |
H A D | Test.java | 39 static Test cache = null; field in class:Test 47 t.next = cache; 49 cache = t; 60 t = cache; 61 cache = t.next;
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/util/ |
H A D | RepositoryIdCache.java | 43 private RepositoryIdCache cache; field in class:RepositoryIdPool 59 //if (cache.size() <= MAX_CACHE_SIZE) 67 int numToReclaim = cache.size() / 2; 68 Enumeration keys = cache.keys(); 69 Enumeration elements = cache.elements(); 75 cache.remove(key); 81 final void setCaches(RepositoryIdCache cache) { argument 82 this.cache = cache;
|
H A D | JDKClassLoader.java | 109 * Private cache implementation specific to JDKClassLoader. 114 // ClassLoader. Note this in our cache so JDKClassLoader 117 cache.put(key, JDKClassLoaderCache.KNOWN_TO_FAIL); 133 return cache.get(key) == JDKClassLoaderCache.KNOWN_TO_FAIL; 137 private final Map cache field in class:JDKClassLoader.JDKClassLoaderCache
|
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | MemoryCacheImageOutputStream.java | 34 * used to cache at least the data between the discard position and 38 * the stream that have already been written to the cache and not 46 private MemoryCache cache = new MemoryCache(); field in class:MemoryCacheImageOutputStream 69 int val = cache.read(streamPos); 95 // no more bytes left to read from cache 96 long bytesLeftInCache = cache.getLength() - streamPos; 102 // and so the rest of the error checking is done by cache.read() 105 cache.read(b, off, len, streamPos); 112 cache.write(b, streamPos); 118 cache [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/implementations/ |
H A D | UtfHelpper.java | 9 final static void writeByte(final String str,final OutputStream out,Map cache) throws IOException { argument 10 byte []result=(byte[]) cache.get(str); 13 cache.put(str,result);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/ |
H A D | MessageCatalog.java | 382 // a small cache to speed up some common languages and reduce the 430 // cache for isLanguageSupported(), below ... key is a language 433 private Hashtable cache = new Hashtable(5); field in class:MessageCatalog 460 // is immutable, so we never worry about changing the cache. 462 Boolean value = (Boolean) cache.get(localeName); 480 cache.put(localeName, Boolean.TRUE); 498 cache.put(localeName, Boolean.TRUE); 513 cache.put(localeName, Boolean.FALSE);
|
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/ |
H A D | JAXB.java | 104 * To improve the performance, we'll cache the last {@link JAXBContext} used. 120 private static volatile WeakReference<Cache> cache; field in class:JAXB 124 * by using the cache if possible. 127 * We don't use locks to control access to {@link #cache}, but this code 131 WeakReference<Cache> c = cache; 138 // overwrite the cache 140 cache = new WeakReference<Cache>(d);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | CacheFSInfo.java | 60 cache.clear(); 89 // don't bother to lock the cache, because it is thread-safe, and 99 // don't bother to lock the cache, because it is thread-safe, and 102 Entry e = cache.get(file); 109 cache.put(file, e); 115 private Map<File,Entry> cache = new ConcurrentHashMap<File,Entry>(); field in class:CacheFSInfo
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ccache/ |
H A D | MemoryCredentialsCache.java | 38 //Windows supports the "API: cache" type, which is a shared memory cache. This is 40 //MemoryCredentialsCache will provide future functions to access shared memeory cache on 44 * cache on Windows platforms. 59 public abstract boolean exists(String cache); argument
|
/openjdk7/jdk/src/share/classes/sun/management/snmp/jvminstr/ |
H A D | JvmRTBootClassPathTableMetaImpl.java | 74 private SnmpTableCache cache; field in class:JvmRTBootClassPathTableMetaImpl 109 // Time stamp for the cache 133 cache = new JvmRTBootClassPathTableCache(this, -1); 200 // Get the request contextual cache (userData). 205 // the request contextual cache. 214 // If the entry is in the cache, simply return it. 220 log.debug("getEntry", "Entry is already in the cache"); 223 if (dbg) log.debug("getEntry", "Entry is not in the cache"); 226 // The entry was not in the cache, make a new one. 255 // Put the entry in the cache i [all...] |
H A D | JvmRTClassPathTableMetaImpl.java | 73 private SnmpTableCache cache; field in class:JvmRTClassPathTableMetaImpl 108 // Time stamp for the cache 132 cache = new JvmRTClassPathTableCache(this, -1); 199 // Get the request contextual cache (userData). 204 // the request contextual cache. 213 // If the entry is in the cache, simply return it. 219 log.debug("getEntry", "Entry is already in the cache"); 222 if (dbg) log.debug("getEntry", "Entry is not in the cache"); 225 // The entry was not in the cache, make a new one. 253 // Put the entry in the cache i [all...] |
H A D | JvmRTInputArgsTableMetaImpl.java | 73 private SnmpTableCache cache; field in class:JvmRTInputArgsTableMetaImpl 107 // Time stamp for the cache 129 cache = new JvmRTInputArgsTableCache(this, -1); 196 // Get the request contextual cache (userData). 201 // the request contextual cache. 210 // If the entry is in the cache, simply return it. 216 log.debug("getEntry", "Entry is already in the cache"); 218 } else if (dbg) log.debug("getEntry", "Entry is not in the cache"); 221 // The entry was not in the cache, make a new one. 249 // Put the entry in the cache i [all...] |
H A D | JvmRTLibraryPathTableMetaImpl.java | 73 private SnmpTableCache cache; field in class:JvmRTLibraryPathTableMetaImpl 108 // Time stamp for the cache 132 cache = new JvmRTLibraryPathTableCache(this, -1); 199 // Get the request contextual cache (userData). 204 // the request contextual cache. 213 // If the entry is in the cache, simply return it. 219 log.debug("getEntry", "Entry is already in the cache"); 221 } else if (dbg) log.debug("getEntry", "Entry is not in the cache"); 225 // The entry was not in the cache, make a new one. 253 // Put the entry in the cache i [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/ |
H A D | AuthCacheValue.java | 32 * AuthCacheValue: interface to minimise exposure to authentication cache 48 static protected AuthCache cache = new AuthCacheImpl(); field in class:AuthCacheValue 51 cache = map;
|
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | FastCharsetProvider.java | 52 private Map<String,Charset> cache; field in class:FastCharsetProvider 64 cache = c; 101 // Check cache first 102 Charset cs = cache.get(csn); 113 cache.put(csn, cs); 117 // Instantiate the charset and cache it 123 cache.put(csn, cs);
|
H A D | ThreadLocalCoders.java | 44 private ThreadLocal cache = new ThreadLocal(); field in class:ThreadLocalCoders.Cache 63 Object[] oa = (Object[])cache.get(); 66 cache.set(oa);
|