| 1 | # XXX should be called 'build.properties' but this collides with its |
|---|
| 2 | # usage by the Eclipse IDE |
|---|
| 3 | |
|---|
| 4 | # Template for Ant based build process settings. |
|---|
| 5 | |
|---|
| 6 | # Copy to 'abcl.properties' to set options to local builds. |
|---|
| 7 | |
|---|
| 8 | # Attempt to perform incremental compilation? |
|---|
| 9 | abcl.build.incremental=true |
|---|
| 10 | |
|---|
| 11 | ## javac compiler options for ABCL build |
|---|
| 12 | # generate class files for this target JVM |
|---|
| 13 | abcl.javac.target=1.8 |
|---|
| 14 | # specify Java source compatiblity level |
|---|
| 15 | abcl.javac.source=1.6 |
|---|
| 16 | |
|---|
| 17 | # Additional site specific startup code to be merged in 'system.lisp' at build time |
|---|
| 18 | #abcl.startup.file=${basedir}/startup.lisp |
|---|
| 19 | |
|---|
| 20 | ## java.options sets the Java options in the abcl wrapper scripts |
|---|
| 21 | |
|---|
| 22 | # Base JVM settings that work on all supported platforms |
|---|
| 23 | java.options=-XshowSettings:vm -Dfile.encoding=UTF-8 |
|---|
| 24 | |
|---|
| 25 | # Java 11 |
|---|
| 26 | #java.options= |
|---|
| 27 | |
|---|
| 28 | # Maximum safe performance on JDK8 |
|---|
| 29 | #java.options=-d64 -XX:+UseG1GC -XshowSettings:vm -Dfile.encoding=UTF-8 -XX:+AggressiveOpts -XX:CompileThreshold=10 |
|---|
| 30 | |
|---|
| 31 | # Reasonable defaults for Java 8 |
|---|
| 32 | #java.options=-d64 -XshowSettings:vm -XX:+UseG1GC |
|---|
| 33 | |
|---|
| 34 | # Java7 on 64bit optimizations |
|---|
| 35 | #java.options=-d64 -XshowSettings:vm -XX:+UseG1GC |
|---|
| 36 | |
|---|
| 37 | # Reasonable defaults for openjdk6 |
|---|
| 38 | #java.options=-d64 -XshowSettings:vm -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=1g -XX:+UseConcMarkSweepGC |
|---|
| 39 | |
|---|
| 40 | # See |
|---|
| 41 | # http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html |
|---|
| 42 | # for options for the Oracle HotSpot JVM. |
|---|
| 43 | |
|---|
| 44 | # Java7 on 64bit optimizations |
|---|
| 45 | #java.options=-d64 -Xmx16g -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=2g |
|---|
| 46 | |
|---|
| 47 | # Set the JVM to use a maximum of 1GB of RAM (only works for 64bit JVMs) |
|---|
| 48 | #java.options=-d64 -Xmx1g |
|---|
| 49 | |
|---|
| 50 | # Use the G1 garbage collector stablized with jdk1.7.0_04, printing GC details |
|---|
| 51 | #java.options=-d64 -Xmx4g -XX:+PrintGCDetails -XX:+UseG1GC |
|---|
| 52 | |
|---|
| 53 | # Use a separate concurrent GC thread (java-1.6_14 or later) |
|---|
| 54 | #java.options=-d64 -Xmx8g -XX:+UseConcMarkSweepGC |
|---|
| 55 | |
|---|
| 56 | # Java 5 era (???) flag to GC class definitions |
|---|
| 57 | #java.options=-XX:+CMSPermGenSweepingEnabled |
|---|
| 58 | |
|---|
| 59 | # The unloading of class definitions is a per jvm policy. For those |
|---|
| 60 | # implementations which run out of permgen space, the following should |
|---|
| 61 | # help things out. |
|---|
| 62 | #java.options=-d64 -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=1g |
|---|
| 63 | |
|---|
| 64 | # Enable assertions specified via the JVM contract |
|---|
| 65 | # TODO move all use of org.armedbear.lisp.Debug assertions to this interface. |
|---|
| 66 | #java.options=-ea |
|---|
| 67 | |
|---|
| 68 | ## ABCL Development |
|---|
| 69 | |
|---|
| 70 | # skips the compilation of Lisp sources in Netbeans |
|---|
| 71 | # (for debugging compiler-pass1.lisp and subsequent passes) |
|---|
| 72 | #abcl.compile.lisp.skip=true |
|---|
| 73 | |
|---|
| 74 | # JVM option to execute when debugging the Lisp compilation via 'abcl.compile.lisp.debug' |
|---|
| 75 | # Debug the compilation by connecting a JVM debugger to localhost:6789 via JDWP. |
|---|
| 76 | #abcl.compile.lisp.debug.jvmarg=-agentlib:jdwp=transport=dt_socket,server=y,address=6789,suspend=y |
|---|
| 77 | |
|---|
| 78 | |
|---|
| 79 | |
|---|