Skip to content

Commit

Permalink
[GR-14565] Indicate libgraal in Truffle.getRuntime().getName().
Browse files Browse the repository at this point in the history
PullRequest: graal/3249
  • Loading branch information
tzezula committed Mar 26, 2019
2 parents 41667df + a1865a4 commit 7970bd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,6 @@ public void log(String message) {
HotSpotToSVMCalls.log(getIsolateThreadId(), message);
}

@Override
public String getName() {
String name = super.getName();
return name + " Native";
}

/**
* Clears JNI GlobalReferences to HotSpot objects held by object on SVM heap. NOTE: This method
* is called reflectively by Truffle tests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ protected void printVersion(Engine engine) {
String engineImplementationName = engine.getImplementationName();
if (isAOT()) {
engineImplementationName += " Native";
} else {
engineImplementationName += " JVM";
}
System.out.println(String.format("%s %s (%s %s)", languageImplementationName, language.getVersion(), engineImplementationName, engine.getVersion()));
}
Expand Down

0 comments on commit 7970bd7

Please sign in to comment.