RFR: JDK-8273914: Indy string concat changes order of operations

David Holmes dholmes at openjdk.java.net
Thu Oct 7 01:23:04 UTC 2021


On Wed, 6 Oct 2021 21:00:04 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> This change makes string concatenation call `toString` on the arguments eagerly, to preserve the correct evaluation order of the arguments and the calls to `toString`.

Can you explain the changes made in relation to the runtime test:

 test/hotspot/jtreg/runtime/modules/AccessCheck/MethodAccessReadTwice.java

please. The connection to this fix is not at all apparent, nor what the conversion to jasm is achieving.

Thanks,
David

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

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


More information about the hotspot-runtime-dev mailing list