<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>shaver &#187; patch</title>
	<atom:link href="http://shaver.off.net/diary/tag/patch/feed/" rel="self" type="application/rss+xml" />
	<link>http://shaver.off.net/diary</link>
	<description>noise from signal</description>
	<lastBuildDate>Fri, 18 Nov 2011 02:15:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>a difference in degree</title>
		<link>http://shaver.off.net/diary/2007/12/06/a-difference-in-degree/</link>
		<comments>http://shaver.off.net/diary/2007/12/06/a-difference-in-degree/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 19:44:46 +0000</pubDate>
		<dc:creator>shaver</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eve]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[patch]]></category>

		<guid isPermaLink="false">http://shaver.off.net/diary/2007/12/06/a-difference-in-degree/</guid>
		<description><![CDATA[We recently had to hyper-spin an update (Firefox 2.0.0.11), because of a regression introduced into the &#60;canvas&#62; code in the previous release. Never something you want to do, but, then, it could have been worse. My heart goes out to the guys at CCP, who are no doubt having the worst week they can remember. [...]]]></description>
			<content:encoded><![CDATA[<p>We recently had to hyper-spin an update (Firefox 2.0.0.11), because of a regression introduced into the &lt;canvas&gt; code in the previous release.  Never something you want to do, but, then, it <a href="http://brokentoys.org/2007/12/06/on-mac-osx-it-installs-internet-explorer-and-on-linux-it-forces-you-to-vote-republican/">could have been worse</a>.</p>

<p>My heart goes out to the guys at <a href="http://eve-online.com/news/newsOfEve.asp?newsID=500">CCP</a>, who are no doubt having the worst week they can remember.</p>

<p>Edit: I would bet a decent sum that this patcher change was some &#8220;tiny super-safe patch&#8221; that went in between the last time they did end-to-end testing and the time they released it to servers.  This is why we have release candidates, and why they are bit-for-bit the same as what we ship when the time comes.  If a developer ever tells you &#8220;this is 100% safe, don&#8217;t need to retest&#8221;, they can&#8217;t do math, and should be ignored.  If I am the developer in question, doubly so.</p>

<p>Edit 2: A great (candid, clear, detailed) post about this boot.ini issue has appeared <a href="http://myeve.eve-online.com/devblog.asp?a=blog&#038;bid=526">on the EVE developer blog</a>.  Recommended reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://shaver.off.net/diary/2007/12/06/a-difference-in-degree/feed/</wfw:commentRss>
		<slash:comments>-5</slash:comments>
		</item>
		<item>
		<title>another random bit of instrumentation</title>
		<link>http://shaver.off.net/diary/2007/10/15/another-random-bit-of-instrumentation/</link>
		<comments>http://shaver.off.net/diary/2007/10/15/another-random-bit-of-instrumentation/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 19:29:23 +0000</pubDate>
		<dc:creator>shaver</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[patch]]></category>

		<guid isPermaLink="false">http://shaver.off.net/diary/2007/10/15/another-random-bit-of-instrumentation/</guid>
		<description><![CDATA[Last week, I was wondering about how the frame freelist/recycling/arena behaviour might impact dynamic memory footprint, especially for long-lived pages that do a lot of DOM-whacking. So in a few hours on Friday and today I whipped up an ugly, ugly patch that tracks the total outstanding &#8220;live&#8221; frame size for a given PresShell instance, [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, I was wondering about how the frame freelist/recycling/arena behaviour might impact dynamic memory footprint, especially for long-lived pages that do a lot of DOM-whacking.  So in a few hours on Friday and today I whipped up <a href="http://shaver.off.net/misc/presshell-stats-0.patch.txt">an ugly, ugly patch</a> that tracks the total outstanding &#8220;live&#8221; frame size for a given PresShell instance, and the total size of those that are being kept on the freelist.  I doubt I&#8217;ll have much time to do more with it, but it might be an interesting addition to <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=392351">about:memory</a> when that gets rolling.  I&#8217;d also like to make the frame counting not be debug-only, and surface that information as well, just for kicks.</p>

<p><code>[  { uri: "resource://gre/res/hiddenWindow.html", allocated: 11768, onFreelist: 212 }, <br />
 { uri: "chrome://browser/content/browser.xul", allocated: 172775, onFreelist: 15064 }, <br />
 { uri: "http://www.mozilla.org/projects/minefield/", allocated: 88944, onFreelist: 1292 }, <br />
 { uri: "http://news.google.com/", allocated: 476528, onFreelist: 2368 }, <br />
 { uri: "http://dojotoolkit.org/demos/fisheye-demo", allocated: 102379, onFreelist: 39540 }, <br />
 { uri: "http://jquery.com/plugins/project/Plugins/category/48", allocated: 166888, onFreelist: 1320 }, <br />
 { uri: "http://jquery.com/plugins/project/LavaLamp", allocated: 91904, onFreelist: 1540 }, <br />
 { uri: "chrome://global/content/console.xul", allocated: 47232, onFreelist: 313408 }, <br />
 { uri: "about:blank", allocated: 11768, onFreelist: 212 }, <br />
 { uri: "about:presshell-stats", allocated: 13620, onFreelist: 212 }, <br />
 ]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://shaver.off.net/diary/2007/10/15/another-random-bit-of-instrumentation/feed/</wfw:commentRss>
		<slash:comments>-4</slash:comments>
		</item>
	</channel>
</rss>

