X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.acorn%2Fsrc%2Forg%2Fsimantics%2Facorn%2Flru%2FLRU.java;h=b9ba72121858540c66e7c40d66990f196ecc7cea;hp=48b7d4b10a9b34c80e9a68c7b536ef3840e48867;hb=1dfeb7d5c49b1391cd9d877e1eddab18995cb151;hpb=c13c4179bda758e77fe1f2032d3c4268bb9e3120 diff --git a/bundles/org.simantics.acorn/src/org/simantics/acorn/lru/LRU.java b/bundles/org.simantics.acorn/src/org/simantics/acorn/lru/LRU.java index 48b7d4b10..b9ba72121 100644 --- a/bundles/org.simantics.acorn/src/org/simantics/acorn/lru/LRU.java +++ b/bundles/org.simantics.acorn/src/org/simantics/acorn/lru/LRU.java @@ -62,7 +62,7 @@ public class LRU> { public void acquireMutex() throws IllegalAcornStateException { try { while(!mutex.tryAcquire(3, TimeUnit.SECONDS)) { - System.err.println("Mutex is taking a long time to acquire - owner is " + mutexOwner); + LOGGER.info("Mutex is taking a long time to acquire - owner is " + mutexOwner); } if(VERIFY) mutexOwner = Thread.currentThread(); @@ -78,7 +78,7 @@ public class LRU> { public void shutdown() { if (GraphClientImpl2.DEBUG) - System.err.println("Shutting down LRU writers " + writers); + LOGGER.info("Shutting down LRU writers " + writers); writers.shutdown(); try { writers.awaitTermination(60, TimeUnit.SECONDS); @@ -97,7 +97,7 @@ public class LRU> { } }); if (GraphClientImpl2.DEBUG) - System.err.println("Resuming LRU writers " + writers); + LOGGER.info("Resuming LRU writers " + writers); } /*