Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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