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

ruby-changes:60428

From: Kazuhiro <ko1@a...>
Date: Mon, 16 Mar 2020 23:33:04 +0900 (JST)
Subject: [ruby-changes:60428] 304538e6ff (master): Fix typos [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=304538e6ff

From 304538e6ff64b8daadde5456988fb9f82c6a4849 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Mon, 16 Mar 2020 23:21:08 +0900
Subject: Fix typos [ci skip]


diff --git a/debug_counter.h b/debug_counter.h
index 687179e..b57b3ef 100644
--- a/debug_counter.h
+++ b/debug_counter.h
@@ -19,7 +19,7 @@ RB_DEBUG_COUNTER(mc_inline_hit)              // IMC hit https://github.com/ruby/ruby/blob/trunk/debug_counter.h#L19
 RB_DEBUG_COUNTER(mc_inline_miss_klass)       // IMC miss by different class
 RB_DEBUG_COUNTER(mc_inline_miss_invalidated) // IMC miss by invalidated ME
 RB_DEBUG_COUNTER(mc_cme_complement)          // number of acquiring complement CME
-RB_DEBUG_COUNTER(mc_cme_complement_hit)      // number of cahche hit for complemented CME
+RB_DEBUG_COUNTER(mc_cme_complement_hit)      // number of cache hit for complemented CME
 
 RB_DEBUG_COUNTER(mc_search)                  // count for method lookup in class tree
 RB_DEBUG_COUNTER(mc_search_notfound)         //           method lookup, but not found
@@ -34,10 +34,10 @@ RB_DEBUG_COUNTER(ci_runtime) //           creating temporary CI https://github.com/ruby/ruby/blob/trunk/debug_counter.h#L34
 // callcache
 RB_DEBUG_COUNTER(cc_new)        // number of CC
 RB_DEBUG_COUNTER(cc_temp)       //           dummy CC (stack-allocated)
-RB_DEBUG_COUNTER(cc_found_ccs)  // count for CC lookup sucess in CCS
+RB_DEBUG_COUNTER(cc_found_ccs)  // count for CC lookup success in CCS
 
 RB_DEBUG_COUNTER(cc_ent_invalidate) // count for invalidating cc (cc->klass = 0)
-RB_DEBUG_COUNTER(cc_cme_invalidate) // coutn for invalidating CME
+RB_DEBUG_COUNTER(cc_cme_invalidate) // count for invalidating CME
 
 RB_DEBUG_COUNTER(cc_invalidate_leaf)          // count for invalidating klass if klass has no-sublcasses
 RB_DEBUG_COUNTER(cc_invalidate_leaf_ccs)      //                        corresponding CCS
@@ -169,7 +169,7 @@ RB_DEBUG_COUNTER(gc_isptr_maybe) https://github.com/ruby/ruby/blob/trunk/debug_counter.h#L169
  *
  * * obj_newobj: newobj counts
  * * obj_newobj_slowpath: newobj with slowpath counts
- * * obj_newobj_wb_unprotected: newobj for wb_unprotecte.
+ * * obj_newobj_wb_unprotected: newobj for wb_unprotected.
  * * obj_free: obj_free() counts
  * * obj_promote: promoted counts (oldgen)
  * * obj_wb_unprotect: wb unprotect counts
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

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