On Tue, 21 Apr 2026 14:35:34 GMT, Julian Waters <[email protected]> wrote:

> The docs on [[gnu::retain]] seem promising and specifically mentions linker 
> garbage collection. It can only be applied to methods, though, not the 
> Metadata class itself.

I could put it additionally on the constructor 'Metadata::Metadata()'  , just 
in case ....
But I guess it is not cross platform (just gcc/clang), right ?

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

PR Comment: https://git.openjdk.org/jdk/pull/30771#issuecomment-4289433126

Reply via email to