Loading... (original) (raw)
- Type:
Enhancement
- Resolution: Won't Fix
- Priority:
P3
- Fix Version/s: tbd
- Affects Version/s: hs25
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.
- getOpStack_1.patch
19 kB
2015-04-28 14:27 - getOpStack.patch
22 kB
2014-03-10 20:49
duplicates
JDK-4641613 JVMDI spec: Would like the function GetOperandStack in jvmdi to be implemented
- Closed
JDK-4949021 RFE: provide interface to access the JVM operand stack
- Closed
relates to
JDK-6430785 JDI/JDWP Spec: Add ability to get/set the JVM operand stack
- Closed