deduplicating lambda methods

B. Blaser bsrbnd at
Sun Mar 18 15:17:17 UTC 2018

Hi Liam,

On 18 March 2018 at 03:04, Liam Miller-Cushon <cushon at> wrote:


> The updates to hashing are here:

Still looking at the stats [1], we see that the highest duplication
frequency of more than 10e3 appears on *cross-file* lambdas but falls
to 10e2 on *intra-file* lambdas and your patch suggest an
*intra-class* de-duplication with an even lower frequency (note also
that the JIT profile issue [2] is still unaddressed)...

So, I'm wondering if a set of well defined JIT compliant global shapes
(somewhere in 'java.base') would be more efficient in term of class
size reduction and performance?



More information about the amber-dev mailing list