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