summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-09-17 02:28:11 (EDT)
committerEike Stepper2007-09-17 02:28:11 (EDT)
commit54e5cda484603615efe67ba22245e202aab89d03 (patch)
tree32c80b29b4e820b0172123329fc7b257282a748a
parente780da7bc871d8a4ab7f925f01e90479386e75cb (diff)
downloadcdo-54e5cda484603615efe67ba22245e202aab89d03.zip
cdo-54e5cda484603615efe67ba22245e202aab89d03.tar.gz
cdo-54e5cda484603615efe67ba22245e202aab89d03.tar.bz2
[203538] Limit memory consumption in CDORevisionResolverImpl
https://bugs.eclipse.org/bugs/show_bug.cgi?id=203538
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java
index 4c033ef..ace14a9 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOStateMachine.java
@@ -292,7 +292,9 @@ public final class CDOStateMachine extends FiniteStateMachine<CDOState, CDOEvent
revision.setUntransactional();
revision.setCreated(data.getTimeStamp());
revision.adjustReferences(idMappings);
- view.getSession().getRevisionManager().addRevision(revision);
+
+ CDORevisionManagerImpl revisionManager = view.getSession().getRevisionManager();
+ revisionManager.addRevision(revision);
object.cdoInternalSetState(CDOState.CLEAN);
}