Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2009-12-26 09:19:49 +0000
committerEike Stepper2009-12-26 09:19:49 +0000
commitd506fbc61ec2ca783f319cfc2945f434d1a81c96 (patch)
tree537bc7fb251c54a052f675b3dfe19c54bcf00210 /plugins/org.eclipse.emf.cdo/src/org/eclipse/emf
parent64853897d042779af4a581d22bb608685ab2fa7e (diff)
downloadcdo-d506fbc61ec2ca783f319cfc2945f434d1a81c96.tar.gz
cdo-d506fbc61ec2ca783f319cfc2945f434d1a81c96.tar.xz
cdo-d506fbc61ec2ca783f319cfc2945f434d1a81c96.zip
[295038] Memory leak in CDOViewImpl$AdapterManager
https://bugs.eclipse.org/bugs/show_bug.cgi?id=295038
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf')
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java
index b7293c1b4b..beff13a087 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/view/CDOViewImpl.java
@@ -599,7 +599,7 @@ public class CDOViewImpl extends Lifecycle implements InternalCDOView
/**
* TODO Remove me
- *
+ *
* @since 2.0
*/
@Deprecated
@@ -1199,7 +1199,7 @@ public class CDOViewImpl extends Lifecycle implements InternalCDOView
* to the caller of this method but this should not happen in the absence of implementation errors.
* <p>
* Note that this method can block for an uncertain amount of time on the reentrant view lock!
- *
+ *
* @param timeStamp
* The time stamp of the server transaction if this event was sent as a result of a successfully committed
* transaction or <code>LOCAL_ROLLBACK</code> if this event was sent due to a local rollback.
@@ -1452,7 +1452,7 @@ public class CDOViewImpl extends Lifecycle implements InternalCDOView
/**
* Needed for {@link CDOAuditImpl#setTimeStamp(long)}.
- *
+ *
* @since 2.0
*/
protected List<InternalCDOObject> getInvalidObjects(long timeStamp)
@@ -1705,7 +1705,7 @@ public class CDOViewImpl extends Lifecycle implements InternalCDOView
{
if (options().getStrongReferencePolicy().isValid(object, adapter))
{
- objects.add(object);
+ objects.remove(object);
}
}

Back to the top