Skip to content

Commit a3768cd

Browse files
authored
Merge pull request #77 from com-github-javabdd/75-cache-cleanup-saturation-instance-doc
#75 Cache cleanup further improvements
2 parents a105edd + a8fd3c6 commit a3768cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/github/javabdd/JFactory.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class JFactory extends BDDFactoryIntImpl {
3838

3939
/**
4040
* Flush the operation cache on every garbage collection. If this is false, we only clean the collected entries on
41-
* every GC, rather than emptying the whole cache. For most problems, you should keep this set to true.
41+
* every GC, rather than emptying the whole cache.
4242
*/
4343
public static boolean FLUSH_CACHE_ON_GC = false;
4444

@@ -7195,6 +7195,8 @@ void BddCache_clean_itecache(BddCache cache) {
71957195

71967196
boolean isInvalid = false;
71977197

7198+
// Cache cleanup doesn't consider the 'instance' fields of saturation cache entries. This means that cache
7199+
// cleanup assumes that the transition relation BDDs used for saturation are not garbage collected.
71987200
switch (entry.e) {
71997201
case bddop_ite:
72007202
case bddop_relnext:

0 commit comments

Comments
 (0)