Metaspace leak with instrumentation.retransform

David Holmes david.holmes at oracle.com
Thu May 25 05:40:25 UTC 2023


On 24/05/2023 5:22 pm, Thomas Stüfe wrote:
> On Wed, May 24, 2023 at 9:19 AM David Holmes <david.holmes at oracle.com 
> <mailto:david.holmes at oracle.com>> wrote:
>>     That said, I'm at a loss to understand what affect the addSuppressed
>>     could possibly have here.
> 
> It may influence the size of the new byte codes, making them 
> consistently larger than the old ones, thereby preventing space for old 
> byte codes from being reused.

Okay so adding a println instead should achieve the same thing. 
Jean-Philippe can you test that out?

Cheers,
David



More information about the hotspot-dev mailing list