RFR: 8265132 : C2 compilation fails with assert "missing precedence edge" [v4]

Jamsheed Mohammed C M jcm at openjdk.java.net
Fri Jun 18 01:47:25 UTC 2021


On Fri, 18 Jun 2021 01:35:17 GMT, Jamsheed Mohammed C M <jcm at openjdk.org> wrote:

>> I took another look, and it looks safe, but I'm concerned that it will cause raise_LCA_above_marks to do more work.  Don't you think there might be a performance impact?  Have you measured performance?
>> 
>> I still don't understand what inconsistency state this tries to solve, or how it solves it.
>
> raise_LCA_above_marks checks and marks visited bits from LCA and  move upward. i am trying to be safe by clearing visited bits where we don't use calculated LCA. marking visited and not used cases only get impacted.
> Only performance issue is explicit clearing logic i guess.
> 
> Inconsistency  is marking visited and not using the newly computed LCA. but yes inconsistency can never happen as all the cases are computed by this time. and new store interfering  the loads can seldom come. but i was trying to be safe.

I will remove the logic. as it is not anticipated case.

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

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


More information about the hotspot-compiler-dev mailing list