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

JDWP: thread list allocated by VM is deallocated by JDWP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • core-svc
    • None
    • beta
    • generic
    • generic
    • Not verified


      A licensee using the JDWP stub on an OS with a port of J2SE1.2.2
      with HotSpot 1.0.1 encounters a crash during the initialization
      of the JDWP stub.

      On investigation it turns out that an area malloc'ed by the VM
      with malloc cushions is being deallocated by the JDWP without
      knowledge of the cushions - the results is a 'free' with a
      pointer that differs from the original 'malloc'.

      This only happens with the debug version of HotSpot 1.0.1
      (jvm_g.dll) and it happens because the JVMDI implementation

      See suggested fix section of this bug for fix.

            rfield Robert Field (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: