[antlr-interest] ANTLR 3.0ea9 available
Terence Parr
parrt at cs.usfca.edu
Sun May 21 11:06:57 PDT 2006
On May 20, 2006, at 3:29 PM, Brannon King wrote:
> There have been some JVM issues with how the Java threading maps to
> the OS's threading model. Most of those seem to be fixed in the
> current 1.5.06, though it is still possible to lower the priority
> on the thread running the garbage collection.
I just used those options:
time java -Xms40m -Xmx256m -Xoptimize -Xconcgc -
XX:ThreadPriorityPolicy=0 -XX:JavaPriority1_To_OSPriority=1 -
XX:JavaPriority2_To_OSPriority=2 -XX:JavaPriority3_To_OSPriority=2 -
XX:JavaPriority4_To_OSPriority=3 -XX:JavaPriority5_To_OSPriority=3 -
XX:JavaPriority6_To_OSPriority=4 -XX:JavaPriority7_To_OSPriority=5 -
XX:JavaPriority8_To_OSPriority=6 -XX:JavaPriority9_To_OSPriority=7 -
XX:JavaPriority10_To_OSPriority=8 org.antlr.Tool java.g
and it ran 10-20% faster. Interesting...2nd CPU still kickin' though.
Any way to turn OFF the GC?
Ter
More information about the antlr-interest
mailing list