Skip to content

Commit

Permalink
[GR-58231] Make classes in LibGraalSubstitutions static.
Browse files Browse the repository at this point in the history
PullRequest: graal/18840
  • Loading branch information
steve-s committed Sep 18, 2024
2 parents 2947a65 + 2214413 commit fe54b39
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public Object transform(Object receiver, Object originalValue) {
}

@TargetClass(className = "jdk.graal.compiler.serviceprovider.VMSupport", classLoader = LibGraalClassLoaderSupplier.class, onlyWith = LibGraalFeature.IsEnabled.class)
final class Target_jdk_graal_compiler_serviceprovider_VMSupport {
static final class Target_jdk_graal_compiler_serviceprovider_VMSupport {

@Substitute
public static long getIsolateAddress() {
Expand Down Expand Up @@ -413,7 +413,7 @@ public static Target_jdk_graal_compiler_lir_CompositeValueClass get(Class<?> cla
}

@TargetClass(className = "jdk.graal.compiler.hotspot.HotSpotGraalOptionValues", classLoader = LibGraalClassLoaderSupplier.class, onlyWith = LibGraalFeature.IsEnabled.class)
final class Target_jdk_graal_compiler_hotspot_HotSpotGraalOptionValues {
static final class Target_jdk_graal_compiler_hotspot_HotSpotGraalOptionValues {

@Substitute
private static void notifyLibgraalOptions(Map<String, String> vmOptionSettings) {
Expand All @@ -427,7 +427,7 @@ private static void printLibgraalProperties(PrintStream out, String prefix) {
}

@TargetClass(className = "jdk.graal.compiler.core.GraalServiceThread", classLoader = LibGraalClassLoaderSupplier.class, onlyWith = LibGraalFeature.IsEnabled.class)
final class Target_jdk_graal_compiler_core_GraalServiceThread {
static final class Target_jdk_graal_compiler_core_GraalServiceThread {
@Substitute()
void beforeRun() {
Thread thread = SubstrateUtil.cast(this, Thread.class);
Expand Down

0 comments on commit fe54b39

Please sign in to comment.