aspose file tools*
The moose likes Features new in Java 8 and the fly likes Java 8 New Features: Question about JVM in Java 8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Features new in Java 8
Bookmark "Java 8 New Features: Question about JVM in Java 8" Watch "Java 8 New Features: Question about JVM in Java 8" New topic
Author

Java 8 New Features: Question about JVM in Java 8

Rick Umali
Greenhorn

Joined: Dec 31, 2003
Posts: 10

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!


Rick (rickumali.com) Umali
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38897
    
  23
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

Joined: Jul 13, 2011
Posts: 84
    
    5

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.


Richard Reese
Java 8 New Features: A Practical Heads-Up Guide
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38897
    
  23
Does that mean the “permanent generation” is gone, or only part of it?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10105
    
165

The permgen space is gone. Here's the details about it http://www.infoq.com/articles/Java-PERMGEN-Removed

[My Blog] [JavaRanch Journal]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38897
    
  23
Thank you. Interesting link
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java 8 New Features: Question about JVM in Java 8