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

Initialize VMRegImpl::regName[] earlier to prevent assert during PrintStubCode

    Details

    • Subcomponent:
    • Resolved In Build:
      b15
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        With -XX:+PrintStubCode, SharedRuntime::generate_stubs() fails with an assert deep down in VMRegImpl::print_on().

        Reason: some stubs have oop maps attached. Printing them requires the regName[] array to be initialized.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lucy Lucy Schmidt
                  Reporter:
                  lucy Lucy Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: