On 28/10/2025 06:32, wenshao wrote:
Thanks to Alan for your feedback.
Based on Chen Liang's suggestion, I submitted a new draft PR
https://github.com/openjdk/jdk/pull/27995
<https://urldefense.com/v3/__https://github.com/openjdk/jdk/pull/27995__;!!ACWV5N9M2RV99hQ!OKe3zURFdlME6esFh_Travsoq4L0s3h71P8bsjCEG5RrmA0nzVmARS7ZAmOZEL0-DWdIg9P8orcXs26SZtYD-c8ZB8h_Fg$>
to add a warning message to the ComactStrings option.
I think first step has to be establish what or who might be using
-XX:-CompactStrings in 2025. This means looking into the status of
ports. Andrew Haley is going to check with folks in IBM as some of the
bug reports for the -CompactString code paths come from ports there.
-Alan