Experience report

Brian Goetz brian.goetz at oracle.com
Thu Aug 4 21:19:30 UTC 2022


>
>> One of the areas I was slightly concerned about was object allocation. 

There are a few JMH micros that I found helpful for getting a sense of 
performance comparison.  The main one is "AdaptNull", which runs over a 
minor corpus of classfiles and runs various kinds of "do nothing" 
transforms that vary in terms of how deep they iterate or whether they 
share the CP.  The most representative ones are "SHARED_3" and 
"SHARED_3_NO_DEBUG", which do a three-level iteration (dive into 
methods, and again into code) with a shared CP.  These are both faster 
than the comparable ASM (ASM_3).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20220804/51c8dab2/attachment.htm>


More information about the classfile-api-dev mailing list