[前][次][番号順一覧][スレッド一覧]

ruby-changes:40562

From: usa <ko1@a...>
Date: Wed, 18 Nov 2015 20:26:47 +0900 (JST)
Subject: [ruby-changes:40562] usa:r52641 (ruby_2_1): merge revision(s) 52476, 52477: [Backport #11603]

usa	2015-11-18 20:26:40 +0900 (Wed, 18 Nov 2015)

  New Revision: 52641

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52641

  Log:
    merge revision(s) 52476,52477: [Backport #11603]
    
    * vm_trace.c (rb_threadptr_exec_event_hooks_orig): 
      maintain trace_running counter on internal events.
      This patch is made by Takashi Kokubun <takashikkbn@g...>.
      [Bug #11603] https://github.com/ruby/ruby/pull/1059
    
    * vm_trace.c (rb_threadptr_exec_event_hooks_orig):

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/version.h
    branches/ruby_2_1/vm_trace.c
Index: ruby_2_1/ChangeLog
===================================================================
--- ruby_2_1/ChangeLog	(revision 52640)
+++ ruby_2_1/ChangeLog	(revision 52641)
@@ -1,3 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/ChangeLog#L1
+Wed Nov 18 20:26:08 2015  Koichi Sasada  <ko1@a...>
+
+	* vm_trace.c (rb_threadptr_exec_event_hooks_orig):
+	  maintain trace_running counter on internal events.
+
+	  This patch is made by Takashi Kokubun <takashikkbn@g...>.
+	  [Bug #11603] https://github.com/ruby/ruby/pull/1059
+
 Wed Nov 18 20:19:49 2015  Koichi Sasada  <ko1@a...>
 
 	* compile.c (iseq_compile_each): remove duplicated line event.
Index: ruby_2_1/vm_trace.c
===================================================================
--- ruby_2_1/vm_trace.c	(revision 52640)
+++ ruby_2_1/vm_trace.c	(revision 52641)
@@ -324,10 +324,12 @@ rb_threadptr_exec_event_hooks_orig(rb_tr https://github.com/ruby/ruby/blob/trunk/ruby_2_1/vm_trace.c#L324
 	}
 	else {
 	    rb_trace_arg_t *prev_trace_arg = th->trace_arg;
+	    th->vm->trace_running++;
 	    th->trace_arg = trace_arg;
 	    exec_hooks_unprotected(th, &th->event_hooks, trace_arg);
 	    exec_hooks_unprotected(th, &th->vm->event_hooks, trace_arg);
 	    th->trace_arg = prev_trace_arg;
+	    th->vm->trace_running--;
 	}
     }
     else {
Index: ruby_2_1/version.h
===================================================================
--- ruby_2_1/version.h	(revision 52640)
+++ ruby_2_1/version.h	(revision 52641)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1
 #define RUBY_VERSION "2.1.8"
 #define RUBY_RELEASE_DATE "2015-11-18"
-#define RUBY_PATCHLEVEL 416
+#define RUBY_PATCHLEVEL 417
 
 #define RUBY_RELEASE_YEAR 2015
 #define RUBY_RELEASE_MONTH 11

Property changes on: ruby_2_1
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r52476-52477


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]