This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaFX WebEngine causes high cpu usage

 
Constantine Mosch
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oracle JavaFX Documentation > JavaFX for Swing Developers has a simple web browser SimpleSwingBrowser.java

When I load some urls the code causes high cpu usage.
NetBeans Debugger shows a large number of threads named "URL-Loader".

I think that these threads are responsible for high cpu usage. I search on google about "URL-Loader" without results.

How do I fix this problem?

---------- EDIT ----------

Finally "URL-Loader" thread enters at "Wait" state.
But some Threads remains at "Running" state.
NetBeans Debugger info : Hidden Source Calls > GIFImageLoader
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic