{"action":"closed","issue":{"url":"https://api.github.com/repos/google/guava/issues/2538","repository_url":"https://api.github.com/repos/google/guava","labels_url":"https://api.github.com/repos/google/guava/issues/2538/labels{/name}","comments_url":"https://api.github.com/repos/google/guava/issues/2538/comments","events_url":"https://api.github.com/repos/google/guava/issues/2538/events","html_url":"https://github.com/google/guava/issues/2538","id":168080267,"number":2538,"title":"Waiting Thread , Concurrency Issue with guava cache ","user":{"login":"sjaini44u","id":12932781,"avatar_url":"https://avatars.githubusercontent.com/u/12932781?v=3","gravatar_id":"","url":"https://api.github.com/users/sjaini44u","html_url":"https://github.com/sjaini44u","followers_url":"https://api.github.com/users/sjaini44u/followers","following_url":"https://api.github.com/users/sjaini44u/following{/other_user}","gists_url":"https://api.github.com/users/sjaini44u/gists{/gist_id}","starred_url":"https://api.github.com/users/sjaini44u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjaini44u/subscriptions","organizations_url":"https://api.github.com/users/sjaini44u/orgs","repos_url":"https://api.github.com/users/sjaini44u/repos","events_url":"https://api.github.com/users/sjaini44u/events{/privacy}","received_events_url":"https://api.github.com/users/sjaini44u/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-28T12:08:26Z","updated_at":"2016-07-28T13:20:26Z","closed_at":"2016-07-28T13:20:26Z","body":"We are using Loading cache which has specific eviction timeout set for entries. We are encountering issue of hanging thread while accessing the cache values.\r\n6 threads were trying to access the cache . Out of that 3 had stack trace:-\r\n\r\nState: RUNNABLE\r\nTotal blocked: 52  Total waited: 56\r\n\r\nStack trace: \r\nsun.misc.Unsafe.park(Native Method)\r\njava.util.concurrent.locks.LockSupport.park(LockSupport.java:175)\r\ncom.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:445)\r\ncom.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)\r\ncom.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:143)\r\ncom.google.common.cache.LocalCache$LoadingValueReference.waitForValue(LocalCache.java:3573)\r\ncom.google.common.cache.LocalCache$Segment.waitForLoadingValue(LocalCache.java:2306)\r\ncom.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195)\r\ncom.google.common.cache.LocalCache.get(LocalCache.java:3953)\r\ncom.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957)\r\ncom.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875)\r\n\r\n\r\n\r\n\r\nOther 3 were at :-  \r\nState: WAITING on com.google.common.util.concurrent.SettableFuture@23106645\r\nTotal blocked: 3,086  Total waited: 3,371\r\n\r\nStack trace: \r\nsun.misc.Unsafe.park(Native Method)\r\njava.util.concurrent.locks.LockSupport.park(LockSupport.java:175)\r\ncom.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:445)\r\ncom.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)\r\ncom.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:143)\r\ncom.google.common.cache.LocalCache$LoadingValueReference.waitForValue(LocalCache.java:3573)\r\ncom.google.common.cache.LocalCache$Segment.waitForLoadingValue(LocalCache.java:2306)\r\ncom.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195)\r\ncom.google.common.cache.LocalCache.get(LocalCache.java:3953)\r\ncom.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957)\r\ncom.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875)\r\n\r\nCould someone tell , is this an existing issue ?\r\n"}}
{"actor":{"display_login":"sjaini44u"}}