[Logo]
Forums Register Login
Java 8 New Features: Question about JVM in Java 8
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!
Yes, there is a new JVM, which has to implement things like lazy execution. No, you don't have to recompile old code.
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.

Does that mean the “permanent generation” is gone, or only part of it?
The permgen space is gone. Here's the details about it http://www.infoq.com/articles/Java-PERMGEN-Removed
Thank you. Interesting link
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 19, 2017 11:11:13.