Mercurial > hg > graal-jvmci-8
changeset 13701:b6cb481e9bca
IGV: avoid potential memory leak
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Mon, 20 Jan 2014 16:09:11 +0100 |
parents | 3c047737189a |
children | e749c19405ce |
files | src/share/tools/IdealGraphVisualizer/Bytecodes/src/com/sun/hotspot/igv/bytecodes/BytecodeViewTopComponent.java |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/tools/IdealGraphVisualizer/Bytecodes/src/com/sun/hotspot/igv/bytecodes/BytecodeViewTopComponent.java Mon Jan 20 16:09:10 2014 +0100 +++ b/src/share/tools/IdealGraphVisualizer/Bytecodes/src/com/sun/hotspot/igv/bytecodes/BytecodeViewTopComponent.java Mon Jan 20 16:09:11 2014 +0100 @@ -179,9 +179,13 @@ if (graph != null) { Group g = graph.getGroup(); rootNode.update(graph, g.getMethod()); + } else { + rootNode.update(null, null); } } }); + } else { + rootNode.update(null, null); } }