Skip to content

Commit 39eb6a3

Browse files
[GR-70664] Lower logging level of JFR initialization and UnsatisfiedLinkErrors.
PullRequest: graal/22337
2 parents 097d186 + ca99bcd commit 39eb6a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

espresso/src/com.oracle.truffle.espresso/src/com/oracle/truffle/espresso/impl/Method.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1955,7 +1955,7 @@ private CallTarget lookupNativeCallTarget(Symbol<Name> lookupName) {
19551955
}
19561956

19571957
private EspressoException unsatisfiedLinkError() {
1958-
getContext().getLogger().log(Level.WARNING, "Failed to link native method: {0}", toString());
1958+
getContext().getLogger().log(Level.FINE, "Failed to link native method: {0}", this);
19591959
Meta meta = getMeta();
19601960
return meta.throwExceptionWithMessage(meta.java_lang_UnsatisfiedLinkError, toExternalString());
19611961
}

espresso/src/com.oracle.truffle.espresso/src/com/oracle/truffle/espresso/substitutions/Target_jdk_jfr_internal_JVM.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public final class Target_jdk_jfr_internal_JVM {
3232

3333
@Substitution(languageFilter = VersionFilter.Java11OrLater.class)
3434
public static void registerNatives() {
35-
LOGGER.warning("Ignoring jdk.jfr.internal.JVM initialization, JFR is not supported in Espresso");
35+
LOGGER.fine("Ignoring jdk.jfr.internal.JVM initialization, JFR is not supported in Espresso");
3636
}
3737

3838
@Substitution(languageFilter = VersionFilter.Java11OrLater.class)

0 commit comments

Comments
 (0)