public synchronized int shrink ( boolean force ) { int before = index . size ( ) ; // CFM int flushCFM = 0 ; while ( cfms . size ( ) > 1 ) { flush ( cfms . poll ( ) ) ; flushCFM ++ ; } // CFC if ( force && flushCFM < 2 && cfcs . size ( ) > 1 ) { flush ( oldest ( cfcs ) ) ; if ( cfcs . size ( ) > 1 ) flush ( cfcs . poll ( ) ) ; } // print.o("shrink("+mapping.getVirtual()+"):"+(before-index.size())+">"+force+";"+(flushCFM)); return before - index . size ( ) ; }
shrink the classloader elements