From: Wolfgang M. M. <wol...@us...> - 2004-05-03 12:58:21
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/storage/store In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16328/src/org/exist/storage/store Modified Files: CollectionStore.java Log Message: org.exist.xmldb.LocalCollection should not hold a direct reference to the actual database collection object. Keeping the reference conflicts with the database internal collection caching. Index: CollectionStore.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/storage/store/CollectionStore.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CollectionStore.java 6 Jan 2004 14:10:16 -0000 1.3 --- CollectionStore.java 3 May 2004 12:58:12 -0000 1.4 *************** *** 13,17 **** // size of the internal buffer for collection objects ! public static final int COLLECTION_BUFFER_SIZE = 64; private CollectionCache collectionsCache = new CollectionCache(COLLECTION_BUFFER_SIZE); --- 13,17 ---- // size of the internal buffer for collection objects ! public static final int COLLECTION_BUFFER_SIZE = 128; private CollectionCache collectionsCache = new CollectionCache(COLLECTION_BUFFER_SIZE); |