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

JVMPI: java_g sends wrong buffer contents for JVMPI_DUMP_LEVEL_2

XMLWordPrintable

    • x86
    • windows_nt



      Name: icC57033 Date: 11/12/99


      Java HotSpot VM 1.3-O sends wrong buffer contents for event
      JVMPI_EVENT_HEAP_DUMP
      with dump level JVMPI_DUMP_LEVEL_2

      This problem prevents the hotspot_client1.3-o VM from passing the test in debug
      mode:
           nsk/jvmpi/RequestEvent/reqevent005
      which could be found in the HotSpot's testbase:
          /net/sqesvr/vsn/testbase/testbase_nsk

      To reproduce the bug run doit.bat in
      GammaBase/Bugs/<this bug number>

      WindowsNT output:
      JVMPI_EVENT_HEAP_DUMP: JVMPI_DUMP_LEVEL_2
      Record type: JVMPI_GC_OBJ_ARRAY_DUMP(dump of an object array), jobjectID:
      0x82b0000
      Record type: JVMPI_GC_PRIM_ARRAY_DUMP(dump of a primitive array), jobjectID:
      0x82b0010
      Record type: JVMPI_GC_INSTANCE_DUMP(dump of a normal object), jobjectID:
      0x82b0030
      Record type: JVMPI_GC_OBJ_ARRAY_DUMP(dump of an object array), jobjectID:
      0x82b0048
      ....
      ....
      ....
      Record type: JVMPI_GC_PRIM_ARRAY_DUMP(dump of a primitive array), jobjectID:
      0xc2b98a0
      Record type: JVMPI_GC_CLASS_DUMP(dump of a class object), jobjectID: 0xc2b99e8
              class name:
      'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
      ....
      ....
      ....
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
      XXXXXXXXX'
      num_interfaces: 0
              size of constant pool: 0
              num_static_fields: 0
      ....
      ....
                      type: [1] + Done(139) x:/jdk1.3.0/bin/java_g
      -Xrunreqevent005:printdump reqevent005; echo $?
        205 Segmentation violation x:/jdk1.3.0/bin/java_g
      139


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

            rgriesemsunw Robert Griesemer (Inactive)
            ichebykisunw Igor Chebykin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: