Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HotSpot  RSS feed

 
Shiv Sidhaarth
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody know about HotSpot VM which claims to increase the performance of Java?
 
Peter Haggar
author
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you want to know? How it works? The difference between it and a JIT? Does it really work? Please be more specific.
Peter Haggar
------------------
Senior Software Engineer, IBM
author of: Practical Java
 
Shiv Sidhaarth
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sankar sv:
Does anybody know about HotSpot VM which claims to increase the performance of Java?

Hi,
I am using visual Cafe as IDE. Can i use HotSpot instead of JIT used by visual cafe? How far performance is expected to increase compared to JIT?
Sankar
 
Peter Haggar
author
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hotspot is a complete VM, not an add-on to an existing VM. Therefore, if Visual Cafe doesn't offer the Hotspot VM, you're out of luck, assuming you use that tool.
How much performance will increase with Hotspot vs. a JIT depends on many factors: The quality of the JIT and Hotspot and the code it is optimizing, to name two. Some people report great performance improvements with Hotspot vs. JIT, others report the opposite. I'd advise that if you are having performance problems to try Hotspot to see if you get any benefit. If not, it may be time to try another JIT VM, or better yet, run your code throug a profiler and find out where it is spending its time. Then look at your design, data structures and algorithms to make improvments.
Peter Haggar
------------------
Senior Software Engineer, IBM
author of: Practical Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!