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

CodeStrings::copy() assertion caused by -XX:+VerifyOops -XX:+PrintStubCode

    Details

    • Subcomponent:
    • Introduced In Version:
      11
    • CPU:
      generic
    • OS:
      linux

      Description

      Running on a debug build the following:
           java -XX:+VerifyOops -XX:+PrintStubCode -version

      Is sufficient to cause an assertion to trip:

      # Internal Error (/home/stuart/jdk/src/hotspot/share/asm/codeBuffer.cpp:1078), pid=34696, tid=34699
      # assert(_offset >= 0) failed: offset for non comment?

      Backing out JDK-8204680 is sufficient to get it to work again.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aph Andrew Haley
                Reporter:
                smonteith Stuart Monteith
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: