RFR: 8261137: Optimization of Box nodes in uncommon_trap [v2]

Vladimir Kozlov kvn at openjdk.java.net
Mon Feb 8 22:50:42 UTC 2021


On Mon, 8 Feb 2021 18:45:37 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Wang Huang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   refactor codes
>
> I am a little concern about stretching uses of input value outside scope where it is created (for example, loop's variable or a value depending on it).
> This optimization may work only because boxed values are immutable.
> I will run our tests with this changes.

Our tier1-4 testing passed

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

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


More information about the hotspot-compiler-dev mailing list