diff --git a/src/main/java/org/truffleruby/language/backtrace/BacktraceInterleaver.java b/src/main/java/org/truffleruby/language/backtrace/BacktraceInterleaver.java index f0781f0acfe0..edcb17d58d07 100644 --- a/src/main/java/org/truffleruby/language/backtrace/BacktraceInterleaver.java +++ b/src/main/java/org/truffleruby/language/backtrace/BacktraceInterleaver.java @@ -55,8 +55,7 @@ public static boolean isCallBoundary(StackTraceElement element) { // GR-47041: we need com.oracle.truffle.api.impl.Accessor.RuntimeSupport.isGuestCallStackFrame but it's not public String className = element.getClassName(); String methodName = element.getMethodName(); - return ((className.equals("com.oracle.truffle.runtime.OptimizedCallTarget") || - className.equals("org.graalvm.compiler.truffle.runtime.OptimizedCallTarget")) && + return (className.equals("com.oracle.truffle.runtime.OptimizedCallTarget") && methodName.equals("executeRootNode")) || (className.equals("com.oracle.truffle.api.impl.DefaultCallTarget") && methodName.equals("callDirectOrIndirect")); diff --git a/tool/jt.rb b/tool/jt.rb index a31e95c3a714..32aa3822a33a 100755 --- a/tool/jt.rb +++ b/tool/jt.rb @@ -2260,7 +2260,7 @@ def graph(*args) raise "The process did not compile #{method}" unless compiled unless igv - # See org.graalvm.compiler.debug.StandardPathUtilitiesProvider#sanitizeFileName + # See StandardPathUtilitiesProvider#sanitizeFileName in graal method_glob_pattern = method.gsub(/[ \/\p{Cntrl}]/, '_') if truffleruby_native? method_glob_pattern = "{Isolated:_,}#{method_glob_pattern}"