307308309310311312313314
/** disable garbage collection for test */ void useHardCache(boolean hard) { if (hard) { cache = new HardSmartCache(); } else { cache = new SoftSmartCache(); } }