Changeset 12972


Ignore:
Timestamp:
10/10/10 15:52:04 (11 years ago)
Author:
ehuelsmann
Message:

Preallocate package sizes large enough to hold all the symbols
inserted during the boot process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Lisp.java

    r12952 r12972  
    5555  // Packages.
    5656  public static final Package PACKAGE_CL =
    57     Packages.createPackage("COMMON-LISP", 1024);
     57    Packages.createPackage("COMMON-LISP", 2048); // EH 10-10-2010: Actual number = 1014
    5858  public static final Package PACKAGE_CL_USER =
    5959    Packages.createPackage("COMMON-LISP-USER", 1024);
     
    6161    Packages.createPackage("KEYWORD", 1024);
    6262  public static final Package PACKAGE_SYS =
    63     Packages.createPackage("SYSTEM");
     63    Packages.createPackage("SYSTEM", 2048); // EH 10-10-2010: Actual number = 1216
    6464  public static final Package PACKAGE_MOP =
    65     Packages.createPackage("MOP");
     65    Packages.createPackage("MOP", 512); // EH 10-10-2010: Actual number = 277
    6666  public static final Package PACKAGE_TPL =
    67     Packages.createPackage("TOP-LEVEL");
     67    Packages.createPackage("TOP-LEVEL", 128); // EH 10-10-2010: Actual number = 6
    6868  public static final Package PACKAGE_EXT =
    69     Packages.createPackage("EXTENSIONS");
     69    Packages.createPackage("EXTENSIONS", 256); // EH 10-10-2010: Actual number = 131
    7070  public static final Package PACKAGE_JVM =
    71     Packages.createPackage("JVM");
     71    Packages.createPackage("JVM", 2048); // EH 10-10-2010: Actual number = 1518
    7272  public static final Package PACKAGE_LOOP =
    73     Packages.createPackage("LOOP");
     73    Packages.createPackage("LOOP", 512); // EH 10-10-2010: Actual number = 305
    7474  public static final Package PACKAGE_PROF =
    7575    Packages.createPackage("PROFILER");
     
    8787    Packages.createPackage("PRECOMPILER");
    8888  public static final Package PACKAGE_SEQUENCE =
    89     Packages.createPackage("SEQUENCE");
     89    Packages.createPackage("SEQUENCE", 128); // EH 10-10-2010: Actual number 62
    9090
    9191
Note: See TracChangeset for help on using the changeset viewer.