run-java 356 B

1234567891011
  1. #!/bin/bash
  2. JAVA_FLAGS="-Xmx4m -Xms1m -XX:NewSize=256k -XX:MaxNewSize=1m -Xss1m -XX:+UseSerialGC -XX:-UsePerfData -XX:+DisableExplicitGC -XX:PermSize=4m -XX:MaxPermSize=16m -XX:MinHeapFreeRatio=0 -XX:MaxHeapFreeRatio=30 -XX:-UseCompiler"
  3. PAL=../pal_loader
  4. if [ "$1" = "-native" ]; then
  5. shift
  6. PAL=
  7. fi
  8. exec $PAL `make java_home`/bin/java $JAVA_FLAGS $*