diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-16 08:18:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-16 08:18:02 +0000 |
commit | 857449b06e365fd5bde74f02fc1ad8892f44b882 (patch) | |
tree | 874a2c37179f6381e300bdee1b0a8829936a378d | |
parent | 40e3d07195a34d114c41b4ea2b538509988fb1d3 (diff) | |
download | ruby-857449b06e365fd5bde74f02fc1ad8892f44b882.tar.gz |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | vm_core.h | 11 |
2 files changed, 6 insertions, 11 deletions
@@ -1,3 +1,9 @@ +Wed Sep 16 17:16:43 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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@iDaemons.org> * doc/syntax/literals.rdoc (Strings): [DOC] Revise the character @@ -49,19 +49,8 @@ #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> |