This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Java 8 New Features: Question about JVM in Java 8  RSS feed

 
Author
Ranch Hand
Posts: 40
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!
 
Marshal
Posts: 60168
188
  • 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.
 
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
Marshal
Posts: 60168
188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does that mean the “permanent generation” is gone, or only part of it?
 
Sheriff
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
Marshal
Posts: 60168
188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. Interesting link
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!