mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 184892 - Change chunk size back to 4K.
This commit is contained in:
parent
3127a209e4
commit
74c2859cc3
2 changed files with 3 additions and 2 deletions
|
@ -75,7 +75,7 @@ import org.eclipse.core.runtime.Status;
|
||||||
public class PDOM extends PlatformObject implements IIndexFragment, IPDOM {
|
public class PDOM extends PlatformObject implements IIndexFragment, IPDOM {
|
||||||
protected Database db;
|
protected Database db;
|
||||||
|
|
||||||
public static final int VERSION = 34;
|
public static final int VERSION = 36;
|
||||||
// 0 - the beginning of it all
|
// 0 - the beginning of it all
|
||||||
// 1 - first change to kick off upgrades
|
// 1 - first change to kick off upgrades
|
||||||
// 2 - added file inclusions
|
// 2 - added file inclusions
|
||||||
|
@ -112,6 +112,7 @@ public class PDOM extends PlatformObject implements IIndexFragment, IPDOM {
|
||||||
// 33 - templates: constructor instances
|
// 33 - templates: constructor instances
|
||||||
// 34 - fix for base classes represented by qualified names (183843)
|
// 34 - fix for base classes represented by qualified names (183843)
|
||||||
// 35 - add scanner configuration hashcode (62366)
|
// 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 LINKAGES = Database.DATA_AREA;
|
||||||
public static final int FILE_INDEX = Database.DATA_AREA + 4;
|
public static final int FILE_INDEX = Database.DATA_AREA + 4;
|
||||||
|
|
|
@ -72,7 +72,7 @@ public class Database {
|
||||||
|
|
||||||
// public for tests only, you shouldn't need these
|
// public for tests only, you shouldn't need these
|
||||||
public static final int VERSION_OFFSET = 0;
|
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 MIN_SIZE = 16;
|
||||||
public static final int INT_SIZE = 4;
|
public static final int INT_SIZE = 4;
|
||||||
public static final int CHAR_SIZE = 2;
|
public static final int CHAR_SIZE = 2;
|
||||||
|
|
Loading…
Add table
Reference in a new issue