Skip to content

push dummy frame for load#6572

Merged
ko1 merged 1 commit intoruby:masterfrom
ko1:load_dmyframe
Oct 20, 2022
Merged

push dummy frame for load#6572
ko1 merged 1 commit intoruby:masterfrom
ko1:load_dmyframe

Conversation

@ko1
Copy link
Contributor

@ko1 ko1 commented Oct 17, 2022

@nobu nobu changed the title push dummy frame for laod push dummy frame for load Oct 17, 2022
This patch pushes dummy frames when loading code for the
profiling purpose.

The following methods push a dummy frame:
* `Kernel#require`
* `Kernel#load`
* `RubyVM::InstructionSequence.compile_file`
* `RubyVM::InstructionSequence.load_from_binary`

https://bugs.ruby-lang.org/issues/18559
@ko1 ko1 marked this pull request as ready for review October 19, 2022 07:10
@ko1 ko1 merged commit e35c528 into ruby:master Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant