This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Performance and the fly likes CompilerThread0 and CompilerThread1 stuck - cpu 100% all time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "CompilerThread0 and CompilerThread1 stuck - cpu 100% all time" Watch "CompilerThread0 and CompilerThread1 stuck - cpu 100% all time" New topic
Author

CompilerThread0 and CompilerThread1 stuck - cpu 100% all time

Aldin Bicic
Greenhorn

Joined: Nov 04, 2013
Posts: 1
Hi experts,

my application (java 6 RedHat 5.3 x64 ) using clean content jar for extracting data from email messages with attachments (doc, xls, ptt ...etc)
After update from CleanContent-2009.1.1.jar to CleanContent-2011.1.1.jar (and any newer version) CompilerThreads will stuck in some cases (pretty often)
In that case CPU usage is 100% all time, even when all activities on application are finished.

I was able to isolate several messages and every time when I used CleanContent-2009.1.1.jar it works ok but always stuck with CleanContent-2011.1.1.jar or newer versions!

Any idea?

Thanks in advance
and regards!
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

Aldin, welcome to CodeRanch.

I haven't heard or used CleanContent so don't really know what might be causing this. What do the thread dumps look like? Have you checked with the developers of CleanContent to see if this is a known issue?

[My Blog] [JavaRanch Journal]
Luan Cestari
Ranch Hand

Joined: Feb 07, 2010
Posts: 163

Error in the Threads managed by the JVM shows that the problem is related to the JVM it self or a bad generated bytecode. Try it out using latest OpenJDK and if the issue still appears, use pastebin.com and paste the link of the Thread Dump.


Please, visit me for some cool tech post at www.ourdailycodes.com
 
jQuery in Action, 2nd edition
 
subject: CompilerThread0 and CompilerThread1 stuck - cpu 100% all time