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

Vladimir Kozlov kvn at openjdk.org
Wed Mar 22 22:07:47 UTC 2023


On Wed, 22 Mar 2023 21:32:59 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Address Claes comments
>
> 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` ?

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

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


More information about the hotspot-dev mailing list