Details
-
Bug
-
Resolution: Fixed
-
P2
-
7u25, 8, 9
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8197252 | 8u192 | Poonam Bajaj Parhar | P2 | Resolved | Fixed | b01 |
JDK-8195257 | 8u172 | Poonam Bajaj Parhar | P2 | Resolved | Fixed | b03 |
JDK-8190023 | 8u162 | Poonam Bajaj Parhar | P2 | Resolved | Fixed | b04 |
JDK-8175151 | 8u161 | Poonam Bajaj Parhar | P2 | Resolved | Fixed | b01 |
JDK-8168920 | 8u152 | Poonam Bajaj Parhar | P2 | Closed | Fixed | b01 |
JDK-8185181 | 8u144 | Poonam Bajaj Parhar | P2 | Closed | Fixed | b31 |
JDK-8183053 | 8u141 | Poonam Bajaj Parhar | P2 | Closed | Fixed | b31 |
JDK-8177491 | 8u131 | Poonam Bajaj Parhar | P2 | Closed | Fixed | b31 |
JDK-8173347 | 8u121 | Poonam Bajaj Parhar | P2 | Resolved | Fixed | b32 |
JDK-8192169 | emb-8u161 | Poonam Bajaj Parhar | P2 | Resolved | Fixed | b01 |
JDK-8168948 | 7u171 | Poonam Bajaj Parhar | P2 | Closed | Fixed | b01 |
Description
// Search for an existing data phi which was generated before for the same
// instance's field to avoid infinite generation of phis in a loop.
The problem is, that we only check if the Phi is from the same region and corresponds to the same instance field. We don't check if it contains the actual "up to date" value from the last store to the input memory:
if (phi->is_Phi() && phi != mem &&
phi->as_Phi()->is_same_inst_field(this_type, this_iid, this_index, this_offset)) {
return phi;
}
This problem was reported by the Apache Lucene because it causes "impossible" assertions in one of their tests:
https://issues.apache.org/jira/browse/LUCENE-5168
The problem is still reproducible with JDK 7, 8 and 9.
Attachments
Issue Links
- backported by
-
JDK-8173347 Instance field load is replaced by wrong data Phi
- Resolved
-
JDK-8175151 Instance field load is replaced by wrong data Phi
- Resolved
-
JDK-8190023 Instance field load is replaced by wrong data Phi
- Resolved
-
JDK-8192169 Instance field load is replaced by wrong data Phi
- Resolved
-
JDK-8195257 Instance field load is replaced by wrong data Phi
- Resolved
-
JDK-8197252 Instance field load is replaced by wrong data Phi
- Resolved
-
JDK-8168920 Instance field load is replaced by wrong data Phi
- Closed
-
JDK-8168948 Instance field load is replaced by wrong data Phi
- Closed
-
JDK-8175903 Instance field load is replaced by wrong data Phi
- Closed
-
JDK-8177491 Instance field load is replaced by wrong data Phi
- Closed
-
JDK-8183053 Instance field load is replaced by wrong data Phi
- Closed
-
JDK-8185181 Instance field load is replaced by wrong data Phi
- Closed
- relates to
-
JDK-8164632 Node indices should be treated as unsigned integers
- Open
-
JDK-6673473 Escape Analysis: Add the instance's field information to PhiNode.
- Closed
-
JDK-8217918 C2: -XX:+AggressiveUnboxing is broken
- Resolved