kosaki
a119b9d146
* vm_core.h (typedef struct rb_vm_struct): create a new
...
'inhibit_thread_createion' field.
* thread.c (rb_thread_terminate_all): set inhibit_thread_creation.
* thread.c (thread_s_new): don't permit to create new thread
if the VM is under destruction. Otherwise evil finalizer code
can make SEGV. [Bug #4992 ][ruby-core:37858]
* bootstraptest/test_objectspace.rb: new test for this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-10 07:46:00 +00:00
kosaki
8739bb305d
add test for [ruby-dev:44049].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 04:57:27 +00:00
akr
21675bb6a7
reduce test time.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 08:08:52 +00:00
ko1
020fd204f8
* bootstraptest/test_objectspace.rb: fix condition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 10:54:02 +00:00
ko1
e6f67598e9
* bootstraptest/test_objectspace.rb: skip flozen string.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 05:18:52 +00:00
ko1
1e4278c98d
* bootstraptest/test_knownbug.rb: move solved tests.
...
* bootstraptest/test_io.rb, test_marshal.rb, test_objectspace.rb:
ditto.
* test/ruby/test_integer.rb, test_regexp.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-23 08:33:32 +00:00
nobu
7d0787116d
* gc.c (id2ref): T_VALUES is less than T_BLOCK. [ruby-dev:31911]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-01 06:17:50 +00:00