RFR: 8359923: Const accessors for the Deferred class

Stefan Karlsson stefank at openjdk.org
Mon Jun 23 11:16:34 UTC 2025


On Fri, 20 Jun 2025 16:24:02 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> I've asked that this change be backed out. I don't think this change should
have been made. I've proposed a better solution for the use-case that led to
making this change.

The name Deferred was chosen when we thought that we would be allowed to use this utility to defer initialization for more situations than just static objects. If we are going to lock this down to only use it for static objects, then I think we also should rename the utility accordingly.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25874#issuecomment-2996006837


More information about the hotspot-dev mailing list