Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8183645 | 8u161 | Shafi Ahmad | P1 | Resolved | Fixed | b01 |
JDK-8168522 | 8u152 | Shafi Ahmad | P1 | Closed | Fixed | b01 |
JDK-8192210 | emb-8u161 | Shafi Ahmad | P1 | Resolved | Fixed | b01 |
Description
The following code hits an assert during compilation:
static int test(Object o) {
return UNSAFE.getInt(o, F_OFFSET);
}
# Internal Error (/Users/vlivanov/ws/jdk/hs-comp9/hotspot/src/share/vm/opto/library_call.cpp:2426), pid=12063, tid=23043
# assert(alias_type->adr_type() == TypeRawPtr::BOTTOM || alias_type->adr_type() == TypeOopPtr::BOTTOM || alias_type->basic_type() != T_ILLEGAL) failed: field, array element or unknown
static int test(Object o) {
return UNSAFE.getInt(o, F_OFFSET);
}
# Internal Error (/Users/vlivanov/ws/jdk/hs-comp9/hotspot/src/share/vm/opto/library_call.cpp:2426), pid=12063, tid=23043
# assert(alias_type->adr_type() == TypeRawPtr::BOTTOM || alias_type->adr_type() == TypeOopPtr::BOTTOM || alias_type->basic_type() != T_ILLEGAL) failed: field, array element or unknown
Attachments
Issue Links
- backported by
-
JDK-8183645 C2: opaque unsafe access triggers an assert
- Resolved
-
JDK-8192210 C2: opaque unsafe access triggers an assert
- Resolved
-
JDK-8168522 C2: opaque unsafe access triggers an assert
- Closed
- duplicates
-
JDK-8162351 JDK9 client nightly Mac build failure
- Closed
-
JDK-8153356 NullCheckDroppingsTest.java fails with "assert(alias_type->adr_type()..."
- Closed
- relates to
-
JDK-8162101 C2: Handle "wide" aliases for unsafe accesses
- Resolved
(1 relates to)