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

ruby-changes:39802

From: nobu <ko1@a...>
Date: Wed, 16 Sep 2015 21:15:02 +0900 (JST)
Subject: [ruby-changes:39802] nobu:r51883 (trunk): vm_core.h: revert VM objspace on Windows

nobu	2015-09-16 21:14:52 +0900 (Wed, 16 Sep 2015)

  New Revision: 51883

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

  Log:
    vm_core.h: revert VM objspace on Windows
    
    * vm_core.h (ENABLE_VM_OBJSPACE): disable now, as socklist and
      conlist will be freed exit_handler(), after object space
      destruction.

  Modified files:
    trunk/vm_core.h
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 51882)
+++ vm_core.h	(revision 51883)
@@ -49,8 +49,17 @@ 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 and conlist will be freed exit_handler(), after object
+ * space destruction.
+ */
+#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/

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