Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2008-11-14 14:58:24 -0500
committerThomas Watson2008-11-14 14:58:24 -0500
commit02ee9d604fd927fa043a0c3c5fcbc019a2a6daf6 (patch)
treeaadc4d7ef0bf648919f5db67dc976771c7285c5d /bundles/org.eclipse.osgi/resolver
parent2bc595199a478058ce0f7f724bb4f209889e3bdd (diff)
downloadrt.equinox.framework-02ee9d604fd927fa043a0c3c5fcbc019a2a6daf6.tar.gz
rt.equinox.framework-02ee9d604fd927fa043a0c3c5fcbc019a2a6daf6.tar.xz
rt.equinox.framework-02ee9d604fd927fa043a0c3c5fcbc019a2a6daf6.zip
Bug 255392 GenericDescription objects are not flushed from memory
Diffstat (limited to 'bundles/org.eclipse.osgi/resolver')
-rw-r--r--bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/BundleDescriptionImpl.java1
-rw-r--r--bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/StateReader.java2
2 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/BundleDescriptionImpl.java b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/BundleDescriptionImpl.java
index c5f3ccf01..4d33b47fd 100644
--- a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/BundleDescriptionImpl.java
+++ b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/BundleDescriptionImpl.java
@@ -519,7 +519,6 @@ public class BundleDescriptionImpl extends BaseDescriptionImpl implements Bundle
if (!isFullyLoaded())
return;
setFullyLoaded(false);
- LazyData tempData = lazyData;
lazyData = null;
}
diff --git a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/StateReader.java b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/StateReader.java
index 6f55a7a67..57d253f11 100644
--- a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/StateReader.java
+++ b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/StateReader.java
@@ -721,7 +721,7 @@ class StateReader {
return skipBytes;
}
- synchronized void flushLazyObjectCache() {
+ void flushLazyObjectCache() {
for (Iterator entries = objectTable.entrySet().iterator(); entries.hasNext();) {
Map.Entry entry = (Entry) entries.next();
if (entry.getValue() instanceof ExportPackageDescription || entry.getValue() instanceof GenericDescription)

Back to the top