summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-09 04:12:14 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-09 04:12:14 (GMT)
commit0c391a55d3ed4637e17462d9b9b8aa21e64e2340 (patch)
tree133cd81c3485590f1dfe2df0dc575a5a072b1418 /signal.c
parent335ca560deb729bee3ab049af1bc7cedae3a869d (diff)
* gc.c: remvoe ruby_disable_gc_stress and add ruby_disable_gc
to speed-up newobj_of(). * gc.c (ready_to_gc): check ruby_disable_gc. * signal.c: use ruby_disable_gc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/signal.c b/signal.c
index 3faa267..0757385 100644
--- a/signal.c
+++ b/signal.c
@@ -817,7 +817,7 @@ ruby_abort(void)
}
static int segv_received = 0;
-extern int ruby_disable_gc_stress;
+extern int ruby_disable_gc;
static RETSIGTYPE
sigsegv(int sig SIGINFO_ARG)
@@ -833,7 +833,7 @@ sigsegv(int sig SIGINFO_ARG)
CHECK_STACK_OVERFLOW();
segv_received = 1;
- ruby_disable_gc_stress = 1;
+ ruby_disable_gc = 1;
rb_bug_context(SIGINFO_CTX, "Segmentation fault" MESSAGE_FAULT_ADDRESS);
}
#endif