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

SA-JDI: ObjectReference.owningThread, .entryCount methods fail

XMLWordPrintable

    • b07
    • generic
    • generic
    • Verified

        Refer to NSK SA/JDI test:

        nsk.sajdi.ObjectReference.owningThread.ownthrd002a

        This test throws "ClassCastException: sun.jvm.hotspot.runtime.ExternalVFrame".



        ###@###.### 2004-04-27

        Name: dd4877 Date: 04/27/2004


        daniel.daugherty@Sun 2004-04-27

        This bug affects the following NSK test:

            nsk/sajdi/ObjectReference/owningThread/ownthrd002




        ======================================================================

        In addition to ClassCastException, there are other failures:

        owningThread, entryCount fail with following exceptions:

        1) AssertionFailure "no ptr map found"
        thrown from sun.jvm.hotspot.compiler.OopMapSet.updateRegisterMap(OopMapSet:265)

        2) ClassCastException -- stated in previous update
        thrown from sun.jvm.hotspot.jdi.ObjectReferenceImpl.countLockedObjects(ObjectReferenceImpl:186).

        3) NullPointerException from sun.jvm.hotspot.runtime.CompiledVFrame.createStackValue (CompiledVFrame.java:181) --- linux , -server mode

        4) NullPointerException from
        sun.jvm.hotspot.runtime.InterpreterVFrame.getMonitors(InterpreterVFrame:97)
        --- solaris, -server mode

        In addition to these exceptions, there are wrong return value situations:

        entryCount returns unexpected value
        owningThread does not return all expected values in list
        waitingThreads returned null list


        ###@###.### 2004-04-29

              poonam Poonam Bajaj Parhar
              sundar Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: