summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-19 05:43:28 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-19 05:43:28 +0000
commit689755a1add0293a557cb22098e3c3dec375c4c6 (patch)
tree944f19ff0a57e4d5a62e5dccd5ebb7e81633014d /gc.c
parent690be750cbf107446438249a868e081e3ee3ff09 (diff)
* gc.c: fix typo by @windwiny [fix GH-506]
* proc.c: ditto * variable.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gc.c b/gc.c
index d46775cef1..121bc079da 100644
--- a/gc.c
+++ b/gc.c
@@ -211,7 +211,7 @@ static ruby_gc_params_t gc_params = {
/* RGENGC_ESTIMATE_OLDMALLOC
* Enable/disable to estimate increase size of malloc'ed size by old objects.
- * If estimation exceeds threashold, then will invoke full GC.
+ * If estimation exceeds threshold, then will invoke full GC.
* 0: disable estimation.
* 1: enable estimation.
*/
@@ -4206,7 +4206,7 @@ verify_internal_consistency_i(void *page_start, void *page_end, size_t stride, v
* Verify internal consistency.
*
* This method is implementation specific.
- * Now this method checks generatioanl consistency
+ * Now this method checks generational consistency
* if RGenGC is supported.
*/
static VALUE
@@ -5702,7 +5702,7 @@ gc_set_initial_pages(void)
* * RUBY_GC_HEAP_INIT_SLOTS
* - Initial allocation slots.
* * RUBY_GC_HEAP_FREE_SLOTS
- * - Prepare at least this ammount of slots after GC.
+ * - Prepare at least this amount of slots after GC.
* - Allocate slots if there are not enough slots.
* * RUBY_GC_HEAP_GROWTH_FACTOR (new from 2.1)
* - Allocate slots by this factor.