Mercurial > hg > truffle
changeset 3616:ecc73b98b47c
Added two new Graal filters.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 03 Nov 2011 05:18:04 +0100 |
parents | 4ac37df2b9ad |
children | b3176fb1934e |
files | src/share/tools/IdealGraphVisualizer/Graal/src/com/sun/hotspot/igv/graal/filters/beginend.filter src/share/tools/IdealGraphVisualizer/Graal/src/com/sun/hotspot/igv/graal/filters/noframestate.filter src/share/tools/IdealGraphVisualizer/Graal/src/com/sun/hotspot/igv/graal/layer.xml |
diffstat | 3 files changed, 15 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/tools/IdealGraphVisualizer/Graal/src/com/sun/hotspot/igv/graal/filters/beginend.filter Thu Nov 03 05:18:04 2011 +0100 @@ -0,0 +1,4 @@ +var f = new CombineFilter("Combine Filter"); +f.addRule(new CombineFilter.CombineRule(new Properties.RegexpPropertyMatcher("class", ".*"), new Properties.RegexpPropertyMatcher("class", "BeginNode"), false, "shortName")); +f.addRule(new CombineFilter.CombineRule(new Properties.RegexpPropertyMatcher("class", "EndNode"), new Properties.RegexpPropertyMatcher("class", ".*"), true, "shortName")); +f.apply(graph);
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/tools/IdealGraphVisualizer/Graal/src/com/sun/hotspot/igv/graal/filters/noframestate.filter Thu Nov 03 05:18:04 2011 +0100 @@ -0,0 +1,1 @@ +remove("class", "FrameState"); \ No newline at end of file
--- a/src/share/tools/IdealGraphVisualizer/Graal/src/com/sun/hotspot/igv/graal/layer.xml Thu Nov 03 05:12:22 2011 +0100 +++ b/src/share/tools/IdealGraphVisualizer/Graal/src/com/sun/hotspot/igv/graal/layer.xml Thu Nov 03 05:18:04 2011 +0100 @@ -10,11 +10,19 @@ <attr name="enabled" boolvalue="false"/> </file> - <file name="Graal Slot Filter" url="filters/slots.filter"> + <file name="Graal Remove Unconnected Slots" url="filters/slots.filter"> <attr name="enabled" boolvalue="false"/> </file> - <file name="Graal Probability Filter" url="filters/probability.filter"> + <file name="Graal Probability" url="filters/probability.filter"> + <attr name="enabled" boolvalue="false"/> + </file> + + <file name="Graal Remove FrameState" url="filters/noframestate.filter"> + <attr name="enabled" boolvalue="false"/> + </file> + + <file name="Graal Reduce Begin-End" url="filters/beginend.filter"> <attr name="enabled" boolvalue="false"/> </file> </folder>