-
Bug
-
Resolution: Fixed
-
P3
-
11, 16, 17
-
b05
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8260980 | 16.0.2 | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8260883 | 16.0.1 | Tobias Hartmann | P3 | Resolved | Fixed | b04 |
When using -XX:+VerifyRegisterAllocator, C2 crashes with:
assert(!is_derived || check->bottom_type()->is_ptr()->ptr() == TypePtr::Null) failed: Bad derived pointer
for the following tests, executed with the additional VM options "-Xcomp -XX:-TieredCompilation" and one of "-XX:-DoEscapeAnalysis" or "-XX:+DeoptimizeALot":
gc/stress/jfr/TestStressAllocationGCEventsWithDefNew.java
gc/stress/jfr/TestStressAllocationGCEventsWithG1.java
gc/stress/jfr/TestStressAllocationGCEventsWithParallel.java
gc/stress/jfr/TestStressBigAllocationGCEventsWithDefNew.java
gc/stress/jfr/TestStressBigAllocationGCEventsWithParallel.java
runtime/cds/appcds/CDSandJFR.java
runtime/cds/appcds/customLoader/HelloCustom_JFR.java
runtime/cds/appcds/jigsaw/modulepath/ModulePathAndCP_JFR.java
runtime/cds/appcds/sharedStrings/FlagCombo.java#id0
For example, to reproduce the problem on runtime/cds/appcds/customLoader/HelloCustom_JFR.java, run:
make run-test TEST="runtime/cds/appcds/customLoader/HelloCustom_JFR.java" TEST_VM_OPTS="-XX:+VerifyRegisterAllocator -Xcomp -XX:-TieredCompilation -XX:-DoEscapeAnalysis"
The problem is observed on linux-x64, macosx-x64, and windows-x64 (fastdebug configuration).
assert(!is_derived || check->bottom_type()->is_ptr()->ptr() == TypePtr::Null) failed: Bad derived pointer
for the following tests, executed with the additional VM options "-Xcomp -XX:-TieredCompilation" and one of "-XX:-DoEscapeAnalysis" or "-XX:+DeoptimizeALot":
gc/stress/jfr/TestStressAllocationGCEventsWithDefNew.java
gc/stress/jfr/TestStressAllocationGCEventsWithG1.java
gc/stress/jfr/TestStressAllocationGCEventsWithParallel.java
gc/stress/jfr/TestStressBigAllocationGCEventsWithDefNew.java
gc/stress/jfr/TestStressBigAllocationGCEventsWithParallel.java
runtime/cds/appcds/CDSandJFR.java
runtime/cds/appcds/customLoader/HelloCustom_JFR.java
runtime/cds/appcds/jigsaw/modulepath/ModulePathAndCP_JFR.java
runtime/cds/appcds/sharedStrings/FlagCombo.java#id0
For example, to reproduce the problem on runtime/cds/appcds/customLoader/HelloCustom_JFR.java, run:
make run-test TEST="runtime/cds/appcds/customLoader/HelloCustom_JFR.java" TEST_VM_OPTS="-XX:+VerifyRegisterAllocator -Xcomp -XX:-TieredCompilation -XX:-DoEscapeAnalysis"
The problem is observed on linux-x64, macosx-x64, and windows-x64 (fastdebug configuration).
- backported by
-
JDK-8260883 C2: assert failed ("Bad derived pointer") with -XX:+VerifyRegisterAllocator
- Resolved
-
JDK-8260980 C2: assert failed ("Bad derived pointer") with -XX:+VerifyRegisterAllocator
- Resolved
- links to
-
Commit openjdk/jdk16u/19b86c4b
-
Commit openjdk/jdk/a3561ae8
-
Review openjdk/jdk16u/10
-
Review openjdk/jdk/2005
(1 links to)