langtools/src/share/classes/com/sun/tools/javac/util/SharedNameTable.java
changeset 22163 3651128c74eb
parent 14049 3207422a0f9b
equal deleted inserted replaced
22162:3b3e23e67329 22163:3651128c74eb
    51         }
    51         }
    52         return new SharedNameTable(names);
    52         return new SharedNameTable(names);
    53     }
    53     }
    54 
    54 
    55     static private synchronized void dispose(SharedNameTable t) {
    55     static private synchronized void dispose(SharedNameTable t) {
    56         freelist = freelist.prepend(new SoftReference<SharedNameTable>(t));
    56         freelist = freelist.prepend(new SoftReference<>(t));
    57     }
    57     }
    58 
    58 
    59     /** The hash table for names.
    59     /** The hash table for names.
    60      */
    60      */
    61     private NameImpl[] hashes;
    61     private NameImpl[] hashes;