JDK-8269063 : Build failure due to VerifyReceiverTypes was not declared after JDK-8268405
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-06-19
  • Updated: 2021-07-15
  • Resolved: 2021-06-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 18
17 b28Fixed 18Fixed
Related Reports
Duplicate :  
Relates :  
Description
* Reproduce:
```
  bash configure --with-jvm-features=-compiler2 ...
  make images
```

* Symptom
```
/home/jdk17/src/hotspot/share/runtime/deoptimization.cpp: In static member function 'static void Deoptimization::uncommon_trap_inner(JavaThread*, jint)':
/home/jdk17/src/hotspot/share/runtime/deoptimization.cpp:1960:43: error: 'VerifyReceiverTypes' was not declared in this scope
     bool is_receiver_constraint_failure = VerifyReceiverTypes && (reason == Deoptimization::Reason_receiver_constraint);
                                           ^~~~~~~~~~~~~~~~~~~
/home/jdk17/src/hotspot/share/runtime/deoptimization.cpp:1960:43: note: suggested alternative: 'VerifyRememberedSets'
     bool is_receiver_constraint_failure = VerifyReceiverTypes && (reason == Deoptimization::Reason_receiver_constraint);
                                           ^~~~~~~~~~~~~~~~~~~
                                           VerifyRememberedSets
```
Comments
ILW = build failure with c2 excluded (uncommon) = HLM = P3
21-06-2021

Changeset: b358b54c Author: Jie Fu <jiefu@openjdk.org> Date: 2021-06-20 22:55:49 +0000 URL: https://git.openjdk.java.net/jdk17/commit/b358b54c4fb515be519ad631c0ae7c58f49fdc5b
20-06-2021