RFR: 8339168: Optimize ClassFile Util slotSize [v8]

Shaojin Wen swen at openjdk.org
Thu Sep 5 05:54:50 UTC 2024


On Thu, 5 Sep 2024 05:07:12 GMT, Shaojin Wen <swen at openjdk.org> wrote:

>> A small optimization to improve the performance of jdk.internal.classfile.impl.Util#slotSize/isDoubleSlot
>
> Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   remove benchmark

![image](https://github.com/user-attachments/assets/82b806f5-6b16-4faf-86aa-5101e5fedc82)
When I was doing performance analysis, I found that slotSize appeared in the flame graph. The above picture is based on the performance data of PR #20863. You can see the slotSize in the red box. The current optimization is to eliminate this part. The overall test cannot reflect this optimization, which is why I created UtilBench. I have removed it.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20747#issuecomment-2330657780


More information about the core-libs-dev mailing list