RFR: 8354954: Typed static memory for late initialization of static class members in Hotspot
Julian Waters
jwaters at openjdk.org
Thu Apr 17 15:07:51 UTC 2025
On Thu, 17 Apr 2025 10:05:31 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
> Alright, after reading up on this: This can only be done in legal C++17, in C++14 we have to save the old pointer in order to be non-UB.
Saving this in memory as another reason for transitioning to C++17
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24689#issuecomment-2813248656
More information about the hotspot-dev
mailing list