Comments (2)
All JDK queues, and in general throughout the collections framework, do not handle sizes larger than Integer.MAX_VALUE
. Two examples are LinkedList
and LinkedBlockingQueue
. And of course array-based versions will crash due to the length limit of an array. Because this has not been an issue in practice, it is generally acceptable to not follow the contract strictly and leave it unhandled until deemed necessary.
The only JDK collections that I'm aware of that does handle the size threshold is ConcurrentHashMap
and ConcurrentSkipList[Set, Map]
.
I think this is unlikely enough to not be covered.
from caffeine.
Actually I might as well fix this, so I'll add it with #9's changes.
from caffeine.
Related Issues (20)
- Caffeine Cache not working in Spring Boot 3 HOT 4
- [question] Is caffeine virtual thread / loom friendly? HOT 11
- Does `compute` renew the `expireAfterWrite` expiry? HOT 4
- Exceptions when "closing" a cache HOT 1
- Background refreshes not happening #2 HOT 5
- caffeine 2.9.2 deadlock HOT 5
- ClassCastException on expiry HOT 6
- Some `Expiry` implementations return `currentTime + desiredLength` instead of `desiredLength` HOT 7
- RemovalListener not always called in unit test. HOT 5
- Mark cache entries as non-evictable HOT 2
- refreshAll feature for CacheLoader HOT 3
- Is the version that supports JDK8 no longer updated? HOT 1
- notifyRejected: com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalLoadingCache HOT 2
- Too many simple repetition of "multi put, multi get" results in immediate item eviction HOT 5
- Version 3.1.8 is not compatible with jdk21 HOT 2
- schedule() is not running exactly after expiry of each entry, it works only for first entry expiry HOT 4
- Race condition in computing write timestamp HOT 2
- Values currently being loaded shows up as `null` entries in `synchronous().asMap()` HOT 9
- Oldest Eviction option HOT 2
- When maximumValue and expireAfterAccessTime is used which is honored. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caffeine.