Skip to content

Commit 03e17e5

Browse files
author
Charlie Somerville
committed
log on cache invalidation
1 parent 0e75de1 commit 03e17e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2307,6 +2307,7 @@ rb_get_method_state_version()
23072307
void
23082308
rb_inc_method_state_version()
23092309
{
2310+
fprintf(stderr, "GLOBAL METHOD CACHE INVALIDATION at %s:%d\n", rb_sourcefile(), rb_sourceline());
23102311
ruby_method_global_state_version++;
23112312
}
23122313

@@ -2319,6 +2320,7 @@ rb_get_constant_state_version()
23192320
void
23202321
rb_inc_constant_state_version()
23212322
{
2323+
fprintf(stderr, "GLOBAL CONSTANT CACHE INVALIDATION at %s:%d\n", rb_sourcefile(), rb_sourceline());
23222324
ruby_constant_global_state_version++;
23232325
}
23242326

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy