diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-10 04:56:32 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-10 04:56:32 +0000 |
commit | fa7bf880b4f351cd99978f7d096510aad137ca18 (patch) | |
tree | ca24c4eb3cc137ec42a67e9fd3567c20b77643b3 /ChangeLog | |
parent | 3d3a0d88c9fe73b911f0a0ba2a96b771740b48db (diff) | |
download | ruby-fa7bf880b4f351cd99978f7d096510aad137ca18.tar.gz |
* vm_trace.c (postponed_job): use preallocated buffer.
Pre-allocate MAX_POSTPONED_JOB (1024) sized buffer
and use it.
If rb_postponed_job_register() cause overflow, simply it
fails and returns 0.
And maybe rb_postponed_job_register() is signal safe.
* vm_core.h: change data structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Thu Oct 10 13:52:37 2013 Koichi Sasada <ko1@atdot.net> + + * vm_trace.c (postponed_job): use preallocated buffer. + Pre-allocate MAX_POSTPONED_JOB (1024) sized buffer + and use it. + If rb_postponed_job_register() cause overflow, simply it + fails and returns 0. + And maybe rb_postponed_job_register() is signal safe. + + * vm_core.h: change data structure. + Thu Oct 10 11:11:33 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * vm.c (Init_VM): hide also the singleton class of frozen-core, not |