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

JVMTI Spec: Would like the function GetOperand in jvmti to be implemented

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • hs25
    • hotspot
    • generic, sparc
    • generic, solaris_7

      Some customers of dbx use the low level bytecode stepping functionality
      available to step through the bytecodes and debug their code. As
      a part of this exercise they would like to see a dump of the
      current java operand stack.
      The hotspot VM does not implement or document these functions which
      are present in the jvmdi.h file.
          jvmdiError (JNICALL *GetOperandStack)
            (jframeID frame, jint *operandStackSizePtr,
             JVMDI_operand_stack_element **operandStackPtr);
          jvmdiError (JNICALL *SetOperandStack)
            (jframeID frame, jint operandStackSize,
             JVMDI_operand_stack_element *operandStack);
      Implementing these in the VM will help dbx implement a command to dump
      the current java stack for users who do bytecode level debugging.

        1. getOpStack.patch
          22 kB
          Serguei Spitsyn
        2. getOpStack_1.patch
          19 kB
          Serguei Spitsyn

            Unassigned Unassigned
            duke J. Duke
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: