<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: VM issues with Samsung A900</title>
	<atom:link href="http://www.agilefusion.com/2007/03/01/vm-issues-with-samsung-a900/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.agilefusion.com/2007/03/01/vm-issues-with-samsung-a900/</link>
	<description>Integrating into the future</description>
	<pubDate>Wed, 07 Jan 2009 01:20:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: alexey</title>
		<link>http://www.agilefusion.com/2007/03/01/vm-issues-with-samsung-a900/#comment-6014</link>
		<dc:creator>alexey</dc:creator>
		<pubDate>Thu, 23 Aug 2007 23:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.agilefusion.com/2007/03/01/vm-issues-with-samsung-a900/#comment-6014</guid>
		<description>I believe the way Vincent fixed it, was to move all the methods into the base abstract class, "testMethod" in this case.</description>
		<content:encoded><![CDATA[<p>I believe the way Vincent fixed it, was to move all the methods into the base abstract class, &#8220;testMethod&#8221; in this case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.agilefusion.com/2007/03/01/vm-issues-with-samsung-a900/#comment-6013</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 23 Aug 2007 22:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.agilefusion.com/2007/03/01/vm-issues-with-samsung-a900/#comment-6013</guid>
		<description>I encountered this problem and it seems to have gone away by me declaring all the involved classes as "abstract". I don't know how often that'll work, but it worked for me.</description>
		<content:encoded><![CDATA[<p>I encountered this problem and it seems to have gone away by me declaring all the involved classes as &#8220;abstract&#8221;. I don&#8217;t know how often that&#8217;ll work, but it worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent Deschenes</title>
		<link>http://www.agilefusion.com/2007/03/01/vm-issues-with-samsung-a900/#comment-2029</link>
		<dc:creator>Vincent Deschenes</dc:creator>
		<pubDate>Thu, 17 May 2007 03:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.agilefusion.com/2007/03/01/vm-issues-with-samsung-a900/#comment-2029</guid>
		<description>The issue seems to be with a class structure fork. 
    I believe that the the VM gets confused with a class tree as follows when methods are being called in rapid succession (e.g. when quick opcodes or a JIT might be used)

Class tree:

1. EF extends DF extends C extends B -extends A
2. E extends D extends C extends B extends A

    Where the base class is A and all of these classes implement the method: "method1()". Class C has a method "testMethod" that calls "method1".

    If we have an array of elements EF and E and we rapidly iterate through it calling "testMethod". Normal operation will invoke method1 in either EF or E depending on the instance. However, I believe in the A900, the just-in-time compiler gets confused and incorrectly calls the "method1" method in "C" when there is more than one override path.</description>
		<content:encoded><![CDATA[<p>The issue seems to be with a class structure fork.<br />
    I believe that the the VM gets confused with a class tree as follows when methods are being called in rapid succession (e.g. when quick opcodes or a JIT might be used)</p>
<p>Class tree:</p>
<p>1. EF extends DF extends C extends B -extends A<br />
2. E extends D extends C extends B extends A</p>
<p>    Where the base class is A and all of these classes implement the method: &#8220;method1()&#8221;. Class C has a method &#8220;testMethod&#8221; that calls &#8220;method1&#8243;.</p>
<p>    If we have an array of elements EF and E and we rapidly iterate through it calling &#8220;testMethod&#8221;. Normal operation will invoke method1 in either EF or E depending on the instance. However, I believe in the A900, the just-in-time compiler gets confused and incorrectly calls the &#8220;method1&#8243; method in &#8220;C&#8221; when there is more than one override path.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
