RFR: 8278518: String(byte[], int, int, Charset) constructor and String.translateEscapes() misses bounds check elimination

Alan Bateman alanb at openjdk.java.net
Mon Dec 13 09:59:15 UTC 2021


On Mon, 13 Dec 2021 09:39:55 GMT, Сергей Цыпанов <duke at openjdk.java.net> wrote:

> Originally this was spotted by by Amir Hadadi in https://stackoverflow.com/questions/70272651/missing-bounds-checking-elimination-in-string-constructor

Before anyone looks at this, can you confirm that the patch does not include any code or tests/benchmarks that were taken from SO?

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

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


More information about the core-libs-dev mailing list