RFR: 8324433: Introduce a way to determine if an expression is evaluated as a constant by the Jit compiler [v5]
Quan Anh Mai
qamai at openjdk.org
Tue Jan 23 22:52:27 UTC 2024
On Tue, 23 Jan 2024 20:01:45 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>> Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
>>
>> ident
>
> src/java.base/share/classes/jdk/internal/misc/JitCompiler.java line 32:
>
>> 30: * Just-in-time-compiler-related queries
>> 31: */
>> 32: public class JitCompiler {
>
> An alternative name and location is `jdk.internal.vm.ConstantSupport` with initial class doc:
>
> Defines methods to test if a value has been evaluated to a compile-time constant value by the HotSpot VM.
That sounds like a better name for the class, although I think `jdk.internal.misc` is more suitable than `jdk.internal.vm`. Do you have any preference? Thanks.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17527#discussion_r1464087772
More information about the hotspot-compiler-dev
mailing list