RFR: 8231349: Move intrinsic stubs generation to compiler runtime initialization code [v2]

Claes Redestad redestad at openjdk.org
Wed Mar 22 22:53:42 UTC 2023


On Wed, 22 Mar 2023 22:04:32 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> src/hotspot/share/runtime/globals.hpp line 369:
>> 
>>> 367:           "Enables intrinsification of Math.signum")                        \
>>> 368:                                                                             \
>>> 369:   product_pd(bool, MoveIntrinsicStubsGen, DIAGNOSTIC,                       \
>> 
>> The flag name looks confusing. What about `LazyCompilerStubGeneration` or even `LazyStubGeneration`?
>
> I know, I am struggling with this name too. But I can't find better one.
> `LazyStubGeneration` is reserved for an other RFE: [JDK-8304422](https://bugs.openjdk.org/browse/JDK-8304422).
> And it is not lazy. Compiler stubs generation is **delayed** until Compiler runtime initialization but they all still generated during initialization phase.
> How about `DelayCompilerStubsGeneration` ?

I think `DelayCompilerStubsGeneration` sounds OK

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13096#discussion_r1145484700


More information about the hotspot-dev mailing list