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

ruby-changes:68776

From: Alan <ko1@a...>
Date: Thu, 21 Oct 2021 08:13:31 +0900 (JST)
Subject: [ruby-changes:68776] 1e573775bf (master): Stop printing when invalidating uJIT blocks

https://git.ruby-lang.org/ruby.git/commit/?id=1e573775bf

From 1e573775bf190188c42e61da01314f8fc5481c7b Mon Sep 17 00:00:00 2001
From: Alan Wu <XrXr@u...>
Date: Wed, 17 Feb 2021 13:08:53 -0500
Subject: Stop printing when invalidating uJIT blocks

---
 ujit_core.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ujit_core.c b/ujit_core.c
index ef76637d54..7b135dc89b 100644
--- a/ujit_core.c
+++ b/ujit_core.c
@@ -598,8 +598,8 @@ invalidate_block_version(block_t* block) https://github.com/ruby/ruby/blob/trunk/ujit_core.c#L598
 {
     const rb_iseq_t *iseq = block->blockid.iseq;
 
-    fprintf(stderr, "invalidating block (%p, %d)\n", block->blockid.iseq, block->blockid.idx);
-    fprintf(stderr, "block=%p\n", block);
+    // fprintf(stderr, "invalidating block (%p, %d)\n", block->blockid.iseq, block->blockid.idx);
+    // fprintf(stderr, "block=%p\n", block);
 
     block_t *first_block = get_first_version(iseq, block->blockid.idx);
     RUBY_ASSERT(first_block != NULL);
@@ -684,7 +684,7 @@ invalidate_block_version(block_t* block) https://github.com/ruby/ruby/blob/trunk/ujit_core.c#L684
 
     ujit_free_block(block);
 
-    fprintf(stderr, "invalidation done\n");
+    // fprintf(stderr, "invalidation done\n");
 }
 
 int blockid_cmp(st_data_t arg0, st_data_t arg1)
-- 
cgit v1.2.1


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

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