( persicsb | 2020. 09. 21., h - 10:12 )

Én azért tudok olyat, amikor a forever cache az default.

https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/net/d…

networkaddress.cache.ttl (default: see below)
Value is an integer corresponding to the number of seconds successful name lookups will be kept in the cache. A value of -1, or any other negative value for that matter, indicates a “cache forever” policy, while a value of 0 (zero) means no caching. The default value is -1 (forever) if a security manager is installed, and implementation-specific when no security manager is installed.

 

Tudom, ez ritka dolog, kevesen használnak JVM-et security managerrel, de jó tudni erről.