RFR: 8265126: unified handling for VectorMask object re-materialization during de-optimization (re-submit) [v2]

Jatin Bhateja jbhateja at openjdk.java.net
Mon May 3 07:08:53 UTC 2021


On Fri, 30 Apr 2021 19:12:14 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> Jatin Bhateja has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>> 
>>  - Merge http://github.com/openjdk/jdk into JDK-8265126
>>  - 8265126:[REDO] unified handling for VectorMask object re-materialization during de-optimization
>
> src/hotspot/share/opto/vector.cpp line 244:
> 
>> 242:     SafePointNode* sfpt = safepoints.pop()->as_SafePoint();
>> 243: 
>> 244:     ciInstanceKlass* iklass = vec_box->box_type()->klass()->as_instance_klass();
> 
> Why do you remove that code? It was added to avoid a crash with -XX:+PrintAssembly.

vec_box is a loop invariant the check has just been moved out of the loop.

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

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


More information about the hotspot-compiler-dev mailing list