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

wrong object type in JVMPI_EVENT_HEAP_DUMP event

XMLWordPrintable

    • kestrel
    • generic
    • generic



      Name: icC57033 Date: 10/28/99


      JVMPI_EVENT_HEAP_DUMP event with level dump JVMPI_DUMP_LEVEL_0 can
      return unknown type of object.
      This problem prevents the VM from passing the test:
           src/nsk/jvmpi/RequestEvent/reqevent003
      which could be found in the HotSpot's testbase:
          /net/sqesvr/vsn/testbase/testbase_nsk
      or /net/sqesvr/vsn/users/NSK/ws/testbase_nsk

      $ java -classic -version
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-L)
      Classic VM (build 1.3.0-L, green threads, nojit)

      Tests calls RequestEvent() with dump level JVMPI_DUMP_LEVEL_0
      and after receiveing JVMPI_EVENT_HEAP_DUMP event with level dump
      JVMPI_DUMP_LEVEL_0 just prints type of object and object's jobjectID
      in loop for all objects in dump buffer.

      Output from Solaris environment:

      JVMPI_EVENT_HEAP_DUMP: JVMPI_DUMP_LEVEL_0
      type: JVMPI_NORMAL_OBJECT(normal object), object: 0xfb8cb338
      ...
      ...
      ...
      type: JVMPI_CHAR(array of chars), object: 0xfb8ce3c8
      type: JVMPI_NORMAL_OBJECT(normal object), object: 0xfb8ce498
      type: JVMPI_CHAR(array of chars), object: 0xfb8ce8a0
      type: Unknown type of object(0xe), object: 0xfb8ceca8

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

            hongzh Hong Zhang
            ichebykisunw Igor Chebykin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: