Open branaway opened 13 years ago
oh my god, i love your fanatical devotion to performance! Keep up pls.
But these options are not common to all JVMs, only available on HotSpot right? As JRockit is now free too, i will do some research for JRockit and post it here.
FYI OptimizeStringConcat is bugged and can lead to jvm oops see http://www.lucidimagination.com/blog/2011/07/28/dont-use-java-7-for-anything/
thanks for reminding
2012/5/28 DarkDimius < reply@reply.github.com
FYI OptimizeStringConcat is bugged and can lead to jvm oops see http://www.lucidimagination.com/blog/2011/07/28/dont-use-java-7-for-anything/
Reply to this email directly or view it on GitHub: https://github.com/branaway/Japid/issues/24#issuecomment-5960610
http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
some interesting ones:
-XX:+UseCompressedStrings Use a byte[] for Strings which can be represented as pure ASCII. (Introduced in Java 6 Update 21 Performance Release)
-XX:+OptimizeStringConcat Optimize String concatenation operations where possible. (Introduced in Java 6 Update 20)
-XX:+UseStringCache Enables caching of commonly allocated strings.