RFR: 8254016: Test8237524 fails with -XX:-CompactStrings option

Boris Ulasevich bulasevich at openjdk.java.net
Mon Nov 16 13:27:09 UTC 2020


The test compares two strings created from same byte array: Latin vs UTF16. The expected effect (strings are different) is valid only for COMPACT_STRINGS=true case (otherwise both strings are treated as UTF16). Particularly on ARM32 test fails because CompactStrings is off by default.

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

Commit messages:
 - 8254016: Test8237524 requires +CompactStrings option

Changes: https://git.openjdk.java.net/jdk/pull/1226/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1226&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8254016
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1226.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1226/head:pull/1226

PR: https://git.openjdk.java.net/jdk/pull/1226


More information about the hotspot-compiler-dev mailing list