JDK-8005722 : Assert in c1_LIR.hpp incorrect wrt to number of register operands
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.
assert(_oprs_len[mode] < maxNumberOfOperands, "array overflow") should probably be <= test
The problem is not the assert but the fact that in LIR_OpVisitState::visit() the receiver operand is processed twice. First at line 813 and then again when the arg list is processed starting at index 0 which is the receiver object. Fix is to set the start index to 0 or 1 based on receiver invalid/valid.