<?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" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: Java Virtual Machine, An inside story!!</title> <atom:link href="http://viralpatel.net/blogs/2008/12/java-virtual-machine-an-inside-story.html/feed" rel="self" type="application/rss+xml" /><link>http://viralpatel.net/blogs/2008/12/java-virtual-machine-an-inside-story.html</link> <description>Tutorials, Java, J2EE, Struts, AJAX, JavaScript, CSS, Web 2.0, MySQL, Articles</description> <lastBuildDate>Wed, 08 Feb 2012 10:36:26 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Ganesh</title><link>http://viralpatel.net/blogs/2008/12/java-virtual-machine-an-inside-story.html/comment-page-1#comment-18696</link> <dc:creator>Ganesh</dc:creator> <pubDate>Fri, 16 Dec 2011 02:07:16 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=521#comment-18696</guid> <description>Hi.... Java supports both compiler and interpreter...because of interpreter the program may be slow..(becse of line by line execution ).. JIT(Just in time compiler) is introduced for High performance.. Ex: print a;//This is statement is executed by interpreter given by the JVM..for ex..the exec and printing this result may take 2 nano sec print b;//This is statement is executed by interpreter given by the JVM..for ex..the exec and printing this result may take 2 nano sec Repeat the following statements i from 1 to 10(like for loop) print a; //This is statement is executed by interpreter given by the JVM..for ex..the exec and printing this result may take 2 nano sec here the problem is if the above statement is hanld by interpreter the time taken by the staments (10*2=20 nano sec) ***So this type of statements(repeatitve stmnts) given to the JIT comipiler by JVM...******here 2 nano sec processing and separate memory is created so another 2 nano sec  for storing..overll 4 nano sec for print a value (if i=1).. if i=2 the jvm fetch the rslt frm stored memry(The value is already availble).. here the time taken by JIT compiler is 4 nano sec....</description> <content:encoded><![CDATA[<p>Hi&#8230;.<br /> Java supports both compiler and interpreter&#8230;because of interpreter the program may be slow..(becse of line by line execution ).. JIT(Just in time compiler) is introduced for High performance..<br /> Ex:<br /> print a;//This is statement is executed by interpreter given by the JVM..for ex..the exec and<br /> printing this result may take 2 nano sec<br /> print b;//This is statement is executed by interpreter given by the JVM..for ex..the exec and<br /> printing this result may take 2 nano sec<br /> Repeat the following statements i from 1 to 10(like for loop)<br /> print a; //This is statement is executed by interpreter given by the JVM..for ex..the exec and<br /> printing this result may take 2 nano sec<br /> here the problem is if the above statement is hanld by interpreter the time taken by the staments (10*2=20 nano sec)<br /> ***So this type of statements(repeatitve stmnts) given to the JIT comipiler by JVM&#8230;******</p><p> here 2 nano sec processing and separate memory is created so another 2 nano sec  for storing..overll 4 nano sec for print a value (if i=1)..<br /> if i=2 the jvm fetch the rslt frm stored memry(The value is already availble)..<br /> here the time taken by JIT compiler is 4 nano sec&#8230;.</p> ]]></content:encoded> </item> <item><title>By: sriram</title><link>http://viralpatel.net/blogs/2008/12/java-virtual-machine-an-inside-story.html/comment-page-1#comment-15587</link> <dc:creator>sriram</dc:creator> <pubDate>Fri, 05 Aug 2011 12:22:50 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=521#comment-15587</guid> <description>Hi iam a newbie to java,even im also having the same doubt,what abt JIT. and what is the name of the java compiler?</description> <content:encoded><![CDATA[<p>Hi iam a newbie to java,even im also having the same doubt,what abt JIT.<br /> and what is the name of the java compiler?</p> ]]></content:encoded> </item> <item><title>By: vt</title><link>http://viralpatel.net/blogs/2008/12/java-virtual-machine-an-inside-story.html/comment-page-1#comment-14786</link> <dc:creator>vt</dc:creator> <pubDate>Sun, 22 May 2011 12:49:49 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=521#comment-14786</guid> <description>I have a doubt...Java Virtual Machine (JVM) is interpreter But Just-in-time Compiler is the compiler.. Why both Interpreter and Compiler both are needed? What actions are done by JVM and what are done by JIT?</description> <content:encoded><![CDATA[<p>I have a doubt&#8230;</p><p>Java Virtual Machine (JVM) is interpreter But Just-in-time Compiler is the compiler.. Why both Interpreter and Compiler both are needed?<br /> What actions are done by JVM and what are done by JIT?</p> ]]></content:encoded> </item> <item><title>By: mandeep panghal</title><link>http://viralpatel.net/blogs/2008/12/java-virtual-machine-an-inside-story.html/comment-page-1#comment-14348</link> <dc:creator>mandeep panghal</dc:creator> <pubDate>Thu, 17 Mar 2011 01:57:05 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=521#comment-14348</guid> <description>fantastic article.......................i haven&#039;t read such awesome article before this............quite remarkable............</description> <content:encoded><![CDATA[<p>fantastic article&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..i haven&#8217;t read such awesome article before this&#8230;&#8230;&#8230;&#8230;quite remarkable&#8230;&#8230;&#8230;&#8230;</p> ]]></content:encoded> </item> <item><title>By: Andy</title><link>http://viralpatel.net/blogs/2008/12/java-virtual-machine-an-inside-story.html/comment-page-1#comment-13772</link> <dc:creator>Andy</dc:creator> <pubDate>Thu, 20 Jan 2011 16:37:55 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=521#comment-13772</guid> <description>Awesome Article .. one of best articles i came across in explaining the complexity of JVM so neatly... Kudos and happy blogging</description> <content:encoded><![CDATA[<p>Awesome Article .. one of best articles i came across in explaining the complexity of JVM so neatly&#8230; Kudos and happy blogging</p> ]]></content:encoded> </item> <item><title>By: Satish Medos</title><link>http://viralpatel.net/blogs/2008/12/java-virtual-machine-an-inside-story.html/comment-page-1#comment-13408</link> <dc:creator>Satish Medos</dc:creator> <pubDate>Fri, 19 Nov 2010 18:47:58 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=521#comment-13408</guid> <description>I find these articles very interesting and crisp in the way explanation is done. Its good to get back to basics and appreciate the technology behind our coding :) which we hardly do in our daily routine ///</description> <content:encoded><![CDATA[<p>I find these articles very interesting and crisp in the way explanation is done. Its good to get back to basics and appreciate the technology behind our coding <img src='http://viralpatel.net/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> which we hardly do in our daily routine ///</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: viralpatel.net @ 2012-02-09 09:29:33 -->
