1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

Bug 184892 - Change chunk size back to 4K.

This commit is contained in:
Doug Schaefer 2007-05-03 14:06:28 +00:00
parent 3127a209e4
commit 74c2859cc3
2 changed files with 3 additions and 2 deletions

View file

@ -75,7 +75,7 @@ import org.eclipse.core.runtime.Status;
public class PDOM extends PlatformObject implements IIndexFragment, IPDOM {
protected Database db;
public static final int VERSION = 34;
public static final int VERSION = 36;
// 0 - the beginning of it all
// 1 - first change to kick off upgrades
// 2 - added file inclusions
@ -112,6 +112,7 @@ public class PDOM extends PlatformObject implements IIndexFragment, IPDOM {
// 33 - templates: constructor instances
// 34 - fix for base classes represented by qualified names (183843)
// 35 - add scanner configuration hashcode (62366)
// 36 - changed chunk size back to 4K (184892)
public static final int LINKAGES = Database.DATA_AREA;
public static final int FILE_INDEX = Database.DATA_AREA + 4;

View file

@ -72,7 +72,7 @@ public class Database {
// public for tests only, you shouldn't need these
public static final int VERSION_OFFSET = 0;
public static final int CHUNK_SIZE = 1024 * 16;
public static final int CHUNK_SIZE = 1024 * 4;
public static final int MIN_SIZE = 16;
public static final int INT_SIZE = 4;
public static final int CHAR_SIZE = 2;