On Sun, 25 Jun 2023 17:19:22 GMT, 温绍锦 <d...@openjdk.org> wrote:

> Should we consider that when COMPACT_STRINGS is false, should it only be 
> guaranteed to work correctly, not the best performance. If based on this 
> principle, the implementation code will be much simpler.

I'm also curious about this question.

To be honest, I have never seen anyone actually use the `-XX:-CompactStrings`. 
Perhaps at some point in the future, we can investigate its usage and consider 
deprecate it to reduce the maintenance cost of JDK?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14578#issuecomment-1606179108

Reply via email to