Skip to content

Commit 7591b95

Browse files
committed
[GR-32856] Only expect Kernel#loop to be in the profile
* If Kernel#loop compiles (OSR) or some other call inside compiles, they will inline everything from there, and there will not be guest safepoints inside for the block (2 levels).
1 parent 8e4439b commit 7591b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/truffle/tools_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def foo
7070
RUBY
7171
out = ruby_exe(code, options: "--cpusampler")
7272
out.should.include?(":kill")
73-
out.should.include?("block (2 levels) in Object#foo")
73+
out.should.include?("Kernel#loop")
7474
out.should_not.include?('KillException')
7575
$?.should.success?
7676
end

0 commit comments

Comments
 (0)