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

vm invocation tests assert: initialized <= length

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • hs25
    • hs25
    • hotspot
    • None
    • Tested on amd64.

    • generic
    • generic

      Run the tests ins INTJDK-7604355, they are invocation tests.
      All three: invokeinterface, invokevirtual and invokespecial assert

      in initialize_vtable:
      assert(initialized <= _length) failed: vtable initialization failed
      All are on an example: liek
      A PUB, a.B PP, b.C PUB

      I tested both CLASSFILE_VER = 51 and 52

      This is a new failure, definitely there after 8014013, wasn't there several weeks ago, I did
      not triage the exact introduction.

      Note that prior to this change there was a bug in
      invokespecial only: assert in put_method_at called by initialize_vtable
      assert(i >=0 && i < _length) failed: index out of bounds.
      This worked in jdk7. I got back as far as jdk8b20 and still found failures, so
      I didn't fully triage when this was introduced. The fix for the bug reported here may
      leave the invokespecial other problem, if so, we need to file a separate bug for that.

      But invokevirtual and invokeinterface used to pass.

      While the technical ownership area is runtime, giving this to compiler as a probable
      fallout of 8014013. Give it back to runtime if that is not the case.

            drchase David Chase (Inactive)
            acorn Karen Kinnear (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: