MCPcopy Create free account
hub / github.com/antlr/codebuff / runLockedCleanup

Method runLockedCleanup

output/java_guava/1.4.13/LocalCache.java:3504–3514  ·  view source on GitHub ↗
(long now)

Source from the content-addressed store, hash-verified

3502
3503
3504 void runLockedCleanup(long now) {
3505 if (tryLock()) {
3506 try {
3507 drainReferenceQueues();
3508 expireEntries(now); // calls drainRecencyQueue
3509 readCount.set(0);
3510 } finally {
3511 unlock();
3512 }
3513 }
3514 }
3515
3516
3517 void runUnlockedCleanup() {

Callers 2

refreshMethod · 0.95
cleanUpMethod · 0.95

Calls 5

drainReferenceQueuesMethod · 0.95
expireEntriesMethod · 0.95
setMethod · 0.65
tryLockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected