ruby-changes:39799
From: nobu <ko1@a...>
Date: Wed, 16 Sep 2015 17:18:38 +0900 (JST)
Subject: [ruby-changes:39799] nobu:r51880 (trunk): vm_core.h: enable VM objspace on Windows
nobu 2015-09-16 17:18:02 +0900 (Wed, 16 Sep 2015) New Revision: 51880 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51880 Log: vm_core.h: enable VM objspace on Windows * vm_core.h (ENABLE_VM_OBJSPACE): enable per-VM object space on Windows by default, as rb_w32_sysinit() no longer depends on ruby_xmalloc. Modified files: trunk/ChangeLog trunk/vm_core.h Index: ChangeLog =================================================================== --- ChangeLog (revision 51879) +++ ChangeLog (revision 51880) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Sep 16 17:16:43 2015 Nobuyoshi Nakada <nobu@r...> + + * vm_core.h (ENABLE_VM_OBJSPACE): enable per-VM object space on + Windows by default, as rb_w32_sysinit() no longer depends on + ruby_xmalloc. + Wed Sep 16 15:08:17 2015 Akinori MUSHA <knu@i...> * doc/syntax/literals.rdoc (Strings): [DOC] Revise the character Index: vm_core.h =================================================================== --- vm_core.h (revision 51879) +++ vm_core.h (revision 51880) @@ -49,19 +49,8 @@ https://github.com/ruby/ruby/blob/trunk/vm_core.h#L49 #endif #ifndef ENABLE_VM_OBJSPACE -#ifdef _WIN32 -/* - * TODO: object space independent st_table. - * socklist needs st_table in rb_w32_sysinit(), before object space - * initialization. - * It is too early now to change st_hash_type, since it breaks binary - * compatibility. - */ -#define ENABLE_VM_OBJSPACE 0 -#else #define ENABLE_VM_OBJSPACE 1 #endif -#endif #include <setjmp.h> #include <signal.h> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/