Skip to content

The curious case of the missing thread that is holding a lock #732

Answered by guusdk
guusdk asked this question in Q&A
Discussion options

You must be logged in to vote

Why is it that you find answers only minutes after posting a question, and not in the decades leading up to it?

The system that's affected has logged a StackOverflowError, thrown on a line in which Caffeine is trying to release the lock that is at the center of this issue:

java.lang.StackOverflowError
        at com.github.benmanes.caffeine.cache.BoundedLocalCache.scheduleDrainBuffers(BoundedLocalCache.java:1382)
        at com.github.benmanes.caffeine.cache.BoundedLocalCache.afterRead(BoundedLocalCache.java:1113)
        at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2310)
        at com.github.benmanes.caffeine.cache.LocalCache.computeIfAb…

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
2 replies
@ben-manes
Comment options

@guusdk
Comment options

Answer selected by guusdk
Comment options

You must be logged in to vote
4 replies
@guusdk
Comment options

@ben-manes
Comment options

@wzur-r3
Comment options

@vlsi
Comment options

Comment options

You must be logged in to vote
3 replies
@guusdk
Comment options

@ben-manes
Comment options

@ben-manes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants