-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* vm.c (rb_thread_mark): mark a working Proc of bmethod
(a method defined by define_method) even if the method was removed. We could not trace working Proc object which represents the body of bmethod if the method was removed (alias/undef/overridden). Simply, it was mark miss. This patch by Kazuki Tsujimoto. [Bug ruby#7825] NOTE: We can brush up this marking because we do not need to mark `me' on each living control frame. We need to mark `me's only if `me' was free'ed. This is future work after Ruby 2.0.0. * test/ruby/test_method.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
Sat Feb 16 16:08:35 2013 Koichi Sasada <[email protected]> | ||
|
||
* vm.c (rb_thread_mark): mark a working Proc of bmethod | ||
(a method defined by define_method) even if the method was removed. | ||
We could not trace working Proc object which represents the body | ||
of bmethod if the method was removed (alias/undef/overridden). | ||
Simply, it was mark miss. | ||
This patch by Kazuki Tsujimoto. [Bug #7825] | ||
|
||
NOTE: We can brush up this marking because we do not need to mark | ||
`me' on each living control frame. We need to mark `me's | ||
only if `me' was free'ed. This is future work after Ruby 2.0.0. | ||
|
||
* test/ruby/test_method.rb: add a test. | ||
|
||
Sat Feb 16 15:45:56 2013 Koichi Sasada <[email protected]> | ||
|
||
* proc.c (rb_binding_new_with_cfp): create binding object even if | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters