RFR: 8354954: Typed static memory for late initialization of static class members in Hotspot [v9]

Johan Sjölen jsjolen at openjdk.org
Tue Apr 29 08:49:35 UTC 2025


On Tue, 29 Apr 2025 08:29:10 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

> I've added an assert that any T should only have a trivial destructor, as any user-defined destructor will not be called.

Aaand, I broke the build :). I guess that that might be too much of a stretch, as it makes it impossible to use certain types in certain situations. I reverted the change and deleted the assert.

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

PR Comment: https://git.openjdk.org/jdk/pull/24689#issuecomment-2837973784


More information about the hotspot-dev mailing list