RFR: 8346781: [JVMCI] Limit ServiceLoader to class initializers [v2]

Doug Simon dnsimon at openjdk.org
Mon Feb 17 17:43:14 UTC 2025


On Mon, 23 Dec 2024 18:06:21 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

>> Doug Simon has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>> 
>>  - Merge remote-tracking branch 'openjdk-jdk/master' into JDK-8346781
>>  - remove non-native-image build time use of ServiceLoader
>>  - make Cleaner.clean public
>
> src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/services/Services.java line 52:
> 
>> 50:      * statement on this field - the guard cannot be behind a method call.
>> 51:      */
>> 52:     public static final boolean IS_BUILDING_NATIVE_IMAGE = Boolean.parseBoolean(VM.getSavedProperty("jdk.vm.ci.services.aot"));
> 
> This field is no longer used in JVMCI and I will remove its usages in Graal.

Removed in https://github.com/oracle/graal/pull/10380

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22869#discussion_r1958608248


More information about the graal-dev mailing list