ruby-changes:54614
From: naruse <ko1@a...>
Date: Tue, 15 Jan 2019 18:06:57 +0900 (JST)
Subject: [ruby-changes:54614] naruse:r66829 (ruby_2_6): merge revision(s) 66767: [Backport #15399]
naruse 2019-01-15 18:06:51 +0900 (Tue, 15 Jan 2019) New Revision: 66829 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66829 Log: merge revision(s) 66767: [Backport #15399] insns.def (duparray, duphash): add dtrace hooks They are considered Array and Hash creation events, so allow dtrace (and systemtap) to track those creations. Co-Authored-By: Eric Wong <e@8...> Modified directories: branches/ruby_2_6/ Modified files: branches/ruby_2_6/insns.def branches/ruby_2_6/version.h Index: ruby_2_6/version.h =================================================================== --- ruby_2_6/version.h (revision 66828) +++ ruby_2_6/version.h (revision 66829) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_6/version.h#L1 #define RUBY_VERSION "2.6.0" #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 13 +#define RUBY_PATCHLEVEL 14 #define RUBY_RELEASE_YEAR 2019 #define RUBY_RELEASE_MONTH 1 Index: ruby_2_6/insns.def =================================================================== --- ruby_2_6/insns.def (revision 66828) +++ ruby_2_6/insns.def (revision 66829) @@ -451,6 +451,7 @@ duparray https://github.com/ruby/ruby/blob/trunk/ruby_2_6/insns.def#L451 () (VALUE val) { + RUBY_DTRACE_CREATE_HOOK(ARRAY, RARRAY_LEN(ary)); val = rb_ary_resurrect(ary); } @@ -461,6 +462,7 @@ duphash https://github.com/ruby/ruby/blob/trunk/ruby_2_6/insns.def#L462 () (VALUE val) { + RUBY_DTRACE_CREATE_HOOK(HASH, RHASH_SIZE(hash) << 1); val = rb_hash_resurrect(hash); } Index: ruby_2_6 =================================================================== --- ruby_2_6 (revision 66828) +++ ruby_2_6 (revision 66829) Property changes on: ruby_2_6 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /trunk:r66767 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/