RFR: 8370983: Add methods for primitive operators to support method handles [v2]
Per Minborg
pminborg at openjdk.org
Mon Nov 3 09:19:05 UTC 2025
On Fri, 31 Oct 2025 22:15:43 GMT, Chen Liang <liach at openjdk.org> wrote:
> I strongly oppose adding operators corresponding to individual instructions. They are not the best primitive operations, and using them as methods in method handles may suffer the same problem as Objects::equals performance drop due to lack of dedicated separate profile due to shared bytecode.
I imagine this problem could be solved in C2?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28081#issuecomment-3479580015
More information about the core-libs-dev
mailing list