FFM performance tweaks

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Fri Nov 22 11:50:29 UTC 2024


We are taking a look on our side as well, and we do notice the inliner 
giving up, with both workarounds (specialized var handle and everything 
segment).

We will share some updates as soon as we understand this a bit better 
(this will probably take some time).

Cheers
Maurizio

On 21/11/2024 22:14, Brian S O'Neill wrote:
> So what's going on? Ignoring the memory copy difference, it seems it's 
> really just the inliner giving up. The rebalancing code is broken up 
> into four very large methods, with lots of special edge cases which 
> get expanded, and so it ends up getting quite huge. I have confirmed 
> in previous test runs that the inliner does give up, but I was unable 
> to determine if it was in the rebalancing code itself. I suspect that 
> it was. 


More information about the panama-dev mailing list