Author: toad
Date: 2009-01-29 16:36:30 +0000 (Thu, 29 Jan 2009)
New Revision: 25363
Modified:
branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java
Log:
Try to disambiguate stack traces during OOMs
Modified: branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java
2009-01-29 16:31:59 UTC (rev 25362)
+++ branches/db4o/freenet/src/freenet/client/async/SingleFileFetcher.java
2009-01-29 16:36:30 UTC (rev 25363)
@@ -931,8 +931,10 @@
synchronized(SingleFileFetcher.this) {
metadata = meta;
}
- if(persistent)
+ if(persistent) {
+ container.store(meta);
container.store(SingleFileFetcher.this);
+ }
wrapHandleMetadata(true, container, context);
} catch (MetadataParseException e) {
SingleFileFetcher.this.onFailure(new
FetchException(FetchException.INVALID_METADATA, e), false, container, context);
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs