This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple Processes

 
Pradeep Kadambar
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to do some searching on a query from a friend of mine. If suppose I run multiple instances of a java program (same or different) will there be single or multiple instances of JVM running, assuming all these setup being on the same macine.

I feel that there will be multiple instances of JVM as we specify JVM congigs seperately during program launch.
 
Pradeep Kadambar
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it were to be running on the same JVM .... can we achieve better memory management for the machine.

This may ease the GC process too...
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A JVM will be initialized whenever someone (script/command line/process) calls the following executable:
<jdk_root>/bin/java
with a valid fully qualified class name.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic