jdk/src/java.base/share/classes/sun/nio/ch/ThreadPool.java
changeset 32649 2ee9017c7597
parent 25859 3317bb8137f4
child 35786 9d26db88aa14
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
    89            };
    89            };
    90         }
    90         }
    91     }
    91     }
    92 
    92 
    93     private static class DefaultThreadPoolHolder {
    93     private static class DefaultThreadPoolHolder {
    94         final static ThreadPool defaultThreadPool = createDefault();
    94         static final ThreadPool defaultThreadPool = createDefault();
    95     }
    95     }
    96 
    96 
    97     // return the default (system-wide) thread pool
    97     // return the default (system-wide) thread pool
    98     static ThreadPool getDefault() {
    98     static ThreadPool getDefault() {
    99         return DefaultThreadPoolHolder.defaultThreadPool;
    99         return DefaultThreadPoolHolder.defaultThreadPool;