RFR: 8354996: Reduce dynamic code generation for a single downcall [v2]
Jorn Vernee
jvernee at openjdk.org
Mon Apr 28 22:37:50 UTC 2025
On Mon, 28 Apr 2025 14:23:53 GMT, Chen Liang <liach at openjdk.org> wrote:
>> That was from the past attempt of linking Class forName0. Tge exact shape doesn't really matter here as we are mainly saving on DMH.
>
> Can I just change this signature to `FunctionDescriptor.ofVoid()`?
Ok, that makes sense. I suppose in the future we might want to pre-generate BindingSpecializer classes, and then it would be useful to figure out which shapes are most common.
I think using `ofVoid()` for now sounds good.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24742#discussion_r2064932240
More information about the core-libs-dev
mailing list