Some post-integration discussion of JDK-8359923 showed there was confusion or disagreement about the purpose and usage of Deferred<>.
After some (internal to Oracle) discussion, it was agreed that the use-case for this class is limited to objects with static storage duration. (The disabled destruction is part of the argument for that.)
With that in mind, the class should be renamed to better reflect its usage, and the documentation comment should better describe that usage.
After some (internal to Oracle) discussion, it was agreed that the use-case for this class is limited to objects with static storage duration. (The disabled destruction is part of the argument for that.)
With that in mind, the class should be renamed to better reflect its usage, and the documentation comment should better describe that usage.
- relates to
-
JDK-8354954 Typed static memory for late initialization of static class members in Hotspot
-
- Resolved
-
-
JDK-8359923 Const accessors for the Deferred class
-
- Resolved
-
- links to
-
Review(master) openjdk/jdk/25964