From d572501eb63ce72ea6fd16cfa87ac97d9e0a9401 Mon Sep 17 00:00:00 2001 From: weiweian Date: Wed, 21 Aug 2024 02:39:31 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=A3=80=E6=9F=A5=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E4=BC=9A=E9=80=A0=E6=88=90JVM=E5=A0=86=E6=A0=88?= =?UTF-8?q?=E6=80=A5=E5=89=A7=E8=86=A8=E8=83=80=EF=BC=8C=E7=94=9F=E6=88=90?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=AF=E9=80=A0=E6=88=90=E5=B4=A9=E6=BA=83?= =?UTF-8?q?=EF=BC=8C=E6=AD=A4=E4=BF=AE=E6=94=B9=E5=8F=AF=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E5=B4=A9=E6=BA=83=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: weiweian --- H5/jflow-core/src/main/java/bp/wf/httphandler/WF_Comm.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/H5/jflow-core/src/main/java/bp/wf/httphandler/WF_Comm.java b/H5/jflow-core/src/main/java/bp/wf/httphandler/WF_Comm.java index 92b9f4ea24..614c713dc9 100644 --- a/H5/jflow-core/src/main/java/bp/wf/httphandler/WF_Comm.java +++ b/H5/jflow-core/src/main/java/bp/wf/httphandler/WF_Comm.java @@ -897,6 +897,13 @@ public class WF_Comm extends bp.difference.handler.DirectoryPageBase } Object tempVar = mp.invoke(en, myparas); String result = tempVar instanceof String ? (String)tempVar : null; //调用由此 MethodInfo 实例反射的方法或构造函数。 + + //仅针对流程检查生效 + if ("DoCheck".equals(methodName) && "BP.WF.Flow".equals(this.getEnName())) + { + System.gc(); + } + return result; } ///#region Entities 公共类库. -- Gitee