bug fix: race condition with garbage collector on soft reference
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2776 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
2fc776af9c
commit
54e2baf510
|
@ -70,9 +70,10 @@ public class ReferenceCleanser {
|
|||
if (occupancy < OCCUPANCY_TRIGGER) {
|
||||
return;
|
||||
}
|
||||
if (getAnalysisCache() != null) {
|
||||
getAnalysisCache().getSSACache().wipe();
|
||||
getAnalysisCache().getCFGCache().wipe();
|
||||
AnalysisCache cache = getAnalysisCache();
|
||||
if (cache != null) {
|
||||
cache.getSSACache().wipe();
|
||||
cache.getCFGCache().wipe();
|
||||
}
|
||||
IClassHierarchy cha = getClassHierarchy();
|
||||
if (cha != null) {
|
||||
|
|
Loading…
Reference in New Issue