<?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>FreshPCFix.com - Free PC Help Articles&#187; Java Crash</title>
	<atom:link href="http://www.freshpcfix.com/articles/tag/java-crash/feed" rel="self" type="application/rss+xml" />
	<link>http://www.freshpcfix.com/articles</link>
	<description>Free PC Help Articles for Windows and PC</description>
	<lastBuildDate>Sun, 18 Oct 2009 04:45:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Java Crashes</title>
		<link>http://www.freshpcfix.com/articles/pc-help/java-crashes</link>
		<comments>http://www.freshpcfix.com/articles/pc-help/java-crashes#comments</comments>
		<pubDate>Sat, 20 Jun 2009 20:20:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PC Help]]></category>
		<category><![CDATA[PC Troubleshooting]]></category>
		<category><![CDATA[Java Crash]]></category>
		<category><![CDATA[java troubleshooting]]></category>

		<guid isPermaLink="false">http://www.freshpcfix.com/articles/?p=132</guid>
		<description><![CDATA[Java crash – An error in executing programs
 
Java crash is a term used to define a run-time error that occurs whenever a user tries to open a web page that requires Java to execute. As a result, the web browser or mostly Explorer crashes. The only result or remedy for this error is to [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><strong><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Java crash – An error in executing programs</span></strong></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><strong><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"> </span></strong></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><strong><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Java crash</span></strong><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"> is a term used to define a run-time error that occurs whenever a user tries to open a web page that requires Java to execute. As a result, the web browser or mostly Explorer crashes. The only result or remedy for this error is to reinstall or reload Java but it does not proof a useful solution in some cases.</span></p>
<p><strong>Java crash </strong>occurs at random times during the execution of the system’s programs and the work done up to that level is lost and cannot be retrieved. It happens eventually without the prior knowledge of the user. The Web applications such as JIRA and Confluence, etc. are running in a <span>Java virtual machine</span> (JVM) which is mainly responsible for managing the memory, CPU and the devices attached with the system, same as the operating system take care of applications like MS Office, web browsers etc. A JVM crash is visible by getting a characteristic ‘Windows <a href="http://en.wikipedia.org/wiki/Blue_Screen_of_Death"><span style="color: windowtext; text-decoration: none;">Blue Screen of Death</span></a>’ while using MS Office or a web browser and occurs when the JVM is running low of the free memory.</p>
<p>The <strong>Java crash </strong>is an error that occurs in JVM not in the software operating within the system. These crashes are sometimes the result of JDK bugs that can be fixed by installing new JDK version. When this crash happens, it is due to the execution of two threads that are calling VTK C++ calls. These two threads are:</p>
<p style="margin-left: 0.5in; text-indent: -0.25in;"> <span style="font-family: Symbol;"><span>·<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"> </span></span></span>The main event thread</p>
<p style="margin-left: 0.5in; text-indent: -0.25in;"><span style="font-family: Symbol;"><span>·<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"> </span></span></span>The finalizer thread which performs the garbage collection.</p>
<p>For example, see the following call:</p>
<p>vtkPointData t = pointPolyData.GetPointData (); vtkDataArray u = t.GetNormals();</p>
<p>What happens is when the GetNormals function is being processed in the C++ side, then due to some system’s processing reasons, the garbage collector starts thinking that t can be de-allocated to empty the allocated memory locations. So, the finalizer thread deletes it from the main event thread which is actually expecting it to Exists. Therefore, <strong>Java crash</strong> appears and the program is stopped from running.<strong></strong></p>
<p>Sometimes, the reason for<strong> Java crash</strong>es is thought to be the use of<strong> </strong>weak global references (NewWeakGlobalRef and DeleteWeakGlobalRef) as the weak global references do not behave as a real reference. Therefore, the objects get collected in garbage during the thread call to native method. The use of non-weak global references (NewGlobalRef and DeleteGlobalRef) helps to avoid these <strong>Java crash</strong>es.<a name="Javacrashes-So.."></a><a name="Javacrashes-WhatshouldIdo?"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.freshpcfix.com/articles/pc-help/java-crashes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
