<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 73: bloat in xalan harness</title><link>https://sourceforge.net/p/dacapobench/bugs/73/</link><description>Recent changes to 73: bloat in xalan harness</description><atom:link href="https://sourceforge.net/p/dacapobench/bugs/73/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 24 Mar 2010 03:44:49 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dacapobench/bugs/73/feed.rss" rel="self" type="application/rss+xml"/><item><title>bloat in xalan harness</title><link>https://sourceforge.net/p/dacapobench/bugs/73/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I was doing research on program analysis techniques targeting runtime bloat.  I have recently developed a static analysis  to find objects and calls that can be pulled out of loops.  One interesting warning that the tool reported for DaCapo/xalan was in method "run" of class "dacapo.xalan.XalanHarness" (in the 2006 version).  At line 88 of the class, a new transformer is created by calling "_template.newTransformer()".  My tool suggested to pull this call out of the while loop starting at line 83.  I inspected the source code and found this was actually true, because we don't need to create a transformer per input file. When I get this call pulled out, I could see 10% running time reduction and the number of objects created was reduced by almost a million (on IBM J9 1.5.0 build 2.4).   I also checked the latest version of DaCapo, and found it was still inside the loop (line 86 of class  org.dacapo.xalan.XSLTBench).&lt;/p&gt;
&lt;p&gt;I am wondering if this is indeed a performance problem, or a false warning reported by our tool.  Thank you ! &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 24 Mar 2010 03:44:49 -0000</pubDate><guid>https://sourceforge.netcb36f90e45b5ea1be69ec81a661a22fbf4aa78ea</guid></item></channel></rss>