Re: Groovy 4.0.0-beta-1 Performance

2021-10-24 Thread MG
Hi Daniel, I have updated the ticket with some VisalVM memory sampling screenshots: For this short test Groovy 4 uses more than 13 million objects of type java.util.concurrent.atomic.AtomicReference, together with an more than 100,000 java.util.concurrent.atomic.AtomicReference[] arrays, which

Re: Groovy 4.0.0-beta-1 Performance

2021-10-24 Thread Daniel Sun
> What I can tell you for sure is, that invokedynamic has a big problem with > 1-time calls. It is much more expensive to generate the callsite for > invokedynamic than it is for our old callsite code (which will stop working) > and also of course compared to direct method calls. In addition, w