Support for Compressed Strings being Dropped in HotSpot JVM?
On this Oracle page Java HotSpot VM Options , it lists -XX:+UseCompressedStrings as being available and on by default. However in Java 6 update 29, it is off by default and in Java 7 update 2 it reports a warning Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseCompressedStrings; support was removed in 7.0 Does anyone know the thinking behind removing this option? sorting lines of an enormous file.txt in java With -mx2g , this example took 4.541 seconds with the option on and 5.206 second with it off in Java 6 update 29. It is hard to see that it impacts performance. Note: Java 7