Home
last modified time | relevance | path

Searched refs:cache2 (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java331 private static final HashMap<String, Charset> cache2 = new HashMap<>(); // "Level 2" cache field in Charset
334 synchronized(cache2) { in cache()
336 Charset canonicalCharset = cache2.get(canonicalName); in cache()
341 cache2.put(canonicalName, cs); in cache()
344 cache2.put(alias, cs); in cache()
348 cache2.put(charsetName, cs); in cache()
502 synchronized (cache2) {
503 if ((cs = cache2.get(charsetName)) != null) {
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharset.java164 private static final java.util.HashMap<java.lang.String, java.nio.charset.Charset> cache2; field in Charset
167 cache2 = null;