mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
allow to gc virtual machine on debug session stop
This commit is contained in:
@@ -73,6 +73,7 @@ public class JavaStackFrame extends XStackFrame {
|
||||
@NotNull private final StackFrameDescriptorImpl myDescriptor;
|
||||
private static final JavaFramesListRenderer FRAME_RENDERER = new JavaFramesListRenderer();
|
||||
private JavaDebuggerEvaluator myEvaluator = null;
|
||||
private final String myEqualityObject;
|
||||
|
||||
public JavaStackFrame(@NotNull StackFrameProxyImpl stackFrameProxy,
|
||||
@NotNull MethodsTracker tracker) {
|
||||
@@ -85,6 +86,7 @@ public class JavaStackFrame extends XStackFrame {
|
||||
myDescriptor.setContext(null);
|
||||
myDescriptor.updateRepresentation(null, DescriptorLabelListener.DUMMY_LISTENER);
|
||||
}
|
||||
myEqualityObject = update ? NodeManagerImpl.getContextKeyForFrame(myDescriptor.getFrameProxy()) : null;
|
||||
myDebugProcess = ((DebugProcessImpl)descriptor.getDebugProcess());
|
||||
myNodeManager = myDebugProcess.getXdebugProcess().getNodeManager();
|
||||
myXSourcePosition = myDescriptor.getSourcePosition() != null ? new JavaXSourcePosition(myDescriptor.getSourcePosition()) : null;
|
||||
@@ -395,7 +397,7 @@ public class JavaStackFrame extends XStackFrame {
|
||||
@Nullable
|
||||
@Override
|
||||
public Object getEqualityObject() {
|
||||
return myDescriptor.getMethod();
|
||||
return myEqualityObject;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user