|
Message
From: cvs at opencores.org<cvs@o...>
Date: Mon Jun 26 12:20:42 CEST 2006
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/06/06 26:12:20 Modified: jop/java/tools/src/com/jopdesign/build GCRTMethodInfo.java Log: no message Revision Changes Path 1.8 jop/java/tools/src/com/jopdesign/build/GCRTMethodInfo.java http://www.opencores.org/cvsweb.shtml/jop/java/tools/src/com/jopdesign/build/GCRTMethodInfo.java.diff?r1=1.7&r2=1.8 (In the diff below, changes in quantity of whitespace are not shown.) Index: GCRTMethodInfo.java =================================================================== RCS file: /cvsroot/rasped/jop/java/tools/src/com/jopdesign/build/GCRTMethodInfo.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -b -r1.7 -r1.8 --- GCRTMethodInfo.java 26 Jun 2006 09:29:46 -0000 1.7 +++ GCRTMethodInfo.java 26 Jun 2006 10:20:41 -0000 1.8 @@ -56,10 +56,6 @@ static HashMap miMap = new HashMap(); - // true if the method of letting the GC thread - // run with lowest priority is used - static boolean cfgReduce = true; - // those methods with gc info // (provided by a call to CallGraph?) static HashSet gcMethods = null; @@ -831,7 +827,7 @@ int ogcimark = 0; int mgcimark = 0; - if(cfgReduce && gcMethods.contains(method)){ + if(gcMethods != null && gcMethods.contains(method)){ if(out != null){ out.println("\n\t// no stackwalker info for " + mi.cli.clazz.getClassName() + "." + mi.methodId +" because cfgReduce == true and gcMethods.contains(method)\n"); @@ -1160,7 +1156,7 @@ */ public void removePC(int pc){ - if(cfgReduce && gcMethods.contains(method)) + if(gcMethods != null && gcMethods.contains(method)) return; int oldogci[] = ogci; @@ -1285,7 +1281,7 @@ */ public int gcLength() { int len = -1; - if(cfgReduce && gcMethods.contains(method)){ + if(gcMethods != null && gcMethods.contains(method)){ len = 0; } else {
|
 |