Here is a reduced webrev, suitable for just the machine-dependent parts of the fix: http://cr.openjdk.java.net/~aph/8143219-2/hotspot.changeset All it does is adjust the lengths for string_compare and string_equals. Andrew.