< prev index next >

modules/javafx.graphics/src/main/java/com/sun/marlin/DoubleArrayCache.java

Print this page

        

*** 158,168 **** final int toIndex) { if (array.length <= MAX_ARRAY_SIZE) { if ((clean || DO_CLEAN_DIRTY) && (toIndex != 0)) { // clean-up array of dirty part[fromIndex; toIndex[ ! fill(array, fromIndex, toIndex, (double) 0); } // ensure to never store initial arrays in cache: if (array != initial) { cache.getCacheBucket(array.length).putArray(array); } --- 158,168 ---- final int toIndex) { if (array.length <= MAX_ARRAY_SIZE) { if ((clean || DO_CLEAN_DIRTY) && (toIndex != 0)) { // clean-up array of dirty part[fromIndex; toIndex[ ! fill(array, fromIndex, toIndex, 0.0d); } // ensure to never store initial arrays in cache: if (array != initial) { cache.getCacheBucket(array.length).putArray(array); }
< prev index next >