Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8288781

C1: LIR_OpVisitState::maxNumberOfOperands too small

    XMLWordPrintable

Details

    • b04

    Backports

      Description

        In LIR_OpVisitState::append() the assertion

        assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow

        fails when C1 compiles a method with 8 integer and 13 float parameters because LIR_OpVisitState::maxNumberOfOperands is 20 which is too small because on ppc 8 integer + 13 float = 21 parameters can be passed in registers (see SharedRuntime::java_calling_convention()).

        Attachments

          Issue Links

            Activity

              People

                rrich Richard Reingruber
                rrich Richard Reingruber
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: