Details
-
Type:
Bug
-
Status: Open
-
Priority:
P4
-
Resolution: Unresolved
-
Affects Version/s: repo-valhalla
-
Fix Version/s: repo-valhalla
-
Component/s: core-libs
-
Labels:None
-
Subcomponent:
Description
WeakHashMap uses WeakReference for keys, allowing it to retain only keys and values that are strongly referenced elsewhere.
The behavior of WeakReference (or any Reference class) is not defined for value class objects.
WeakHashMap could benefit from one or modes to determine how value objects as keys should be allowed or retained.
The behavior of WeakReference (or any Reference class) is not defined for value class objects.
WeakHashMap could benefit from one or modes to determine how value objects as keys should be allowed or retained.
Attachments
Issue Links
- relates to
-
JDK-8244968 [valhalla] WeakHashMap needs to handle keys which are inline objects
-
- Open
-