You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2025/05/24 08:42:30 UTC

(groovy) branch GROOVY-11640 updated: GROOVY-11640: GC pause by Metadata GC Threshold for weeks then turned to Full GC

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch GROOVY-11640
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY-11640 by this push:
     new b223c1a12f GROOVY-11640: GC pause by Metadata GC Threshold for weeks then turned to Full GC
b223c1a12f is described below

commit b223c1a12fb4d0c9191399c259174d536e4d28e2
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat May 24 17:42:00 2025 +0900

    GROOVY-11640: GC pause by Metadata GC Threshold for weeks then turned to Full GC
---
 src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java b/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java
index 7298a88f82..d17fca15fe 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v8/IndyInterface.java
@@ -330,7 +330,7 @@ public class IndyInterface {
         if (mhw.isCanSetTarget() && (callSite.getTarget() != mhw.getTargetMethodHandle()) && (mhw.getLatestHitCount() > INDY_OPTIMIZE_THRESHOLD)) {
             if (callSite.getFallbackRound().get() > INDY_FALLBACK_CUTOFF) {
                 if (callSite.getTarget() != callSite.getDefaultTarget()) {
-                    // reset the call site target to default forever to avoid JIT optimizing and deoptimizing frequently
+                    // reset the call site target to default forever to avoid JIT deoptimization storm further
                     callSite.setTarget(callSite.getDefaultTarget());
                 }
             } else {