Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java 8 New Features: Question about JVM in Java 8

 
Rick Umali
Author
Ranch Hand
Posts: 33
5
Linux Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Richard!

Congrats on your latest book "Java 8 New Features: A Practical Heads-Up Guide"!

My question is on the JVM. Is there a new JVM for Java 8? If so, do I have to recompile my Java 7 code?

Thank you!
 
Campbell Ritchie
Sheriff
Pie
Posts: 50209
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, there is a new JVM, which has to implement things like lazy execution. No, you don't have to recompile old code.
 
Richard Reese
author
Ranch Hand
Posts: 84
5
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rick,

In addition to Campbellā€™s response, there have been a number of enhancements to the VM that makes for a better VM including removal of three infrequently used garbage collection routines and permanent generation. Many of these improvements are not normally of interest to many programmers. Another interesting addition is the introduction of compact profiles which can help reduce the size of your application.

 
Campbell Ritchie
Sheriff
Pie
Posts: 50209
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does that mean the “permanent generation” is gone, or only part of it?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The permgen space is gone. Here's the details about it http://www.infoq.com/articles/Java-PERMGEN-Removed
 
Campbell Ritchie
Sheriff
Pie
Posts: 50209
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. Interesting link
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic