Japid icon indicating copy to clipboard operation
Japid copied to clipboard

research how some JVM arguments would help performance

Open branaway opened this issue 13 years ago • 3 comments

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.

branaway avatar Jun 22 '11 09:06 branaway

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.

tunggad avatar Jun 22 '11 18:06 tunggad

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/

DarkDimius avatar May 28 '12 07:05 DarkDimius

thanks for reminding

2012/5/28 DarkDimius < [email protected]

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

branaway avatar May 28 '12 08:05 branaway