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

XMLWordPrintable

    • 11
    • generic
    • linux

      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.

            Assignee:
            Andrew Haley
            Reporter:
            Stuart Monteith
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: