RFR: JDK-8310502 : Optimization for j.l.Long.fastUUID() [v22]

Glavo duke at openjdk.org
Sun Jun 25 17:40:08 UTC 2023


On Sun, 25 Jun 2023 17:19:22 GMT, 温绍锦 <duke at 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


More information about the core-libs-dev mailing list