This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes java hotspot Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java hotspot" Watch "java hotspot" New topic
Author

java hotspot

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

Java Hotspot with the server option is suitable for running server applications. When I start JRun app server with the java - server option I have noticed that the startup time is more that the -client option.


I want to know the reason for the delay
Is it because it optimizes the hot spots ? If true, does it load all the classes rather than loading on demand. I was under the impression that it optimizes during runtime.

Thanks


Groovy
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

You're comparing the -client runtime to the -server runtime. The documentation says that the -client runtime is optimized for quick startup and smaller memory footprint and not so much for runtime performance, whereas the -server is designed to get the maximum performance, without regard for startup time. Presumably during startup, the -server option builds various in-memory data structures that will help with optimization.


[Jess in Action][AskingGoodQuestions]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java hotspot
 
Similar Threads
JVM in Server or Client mode ?
Remote debugging from eclipse
Questions on HotSpot
Debugging JNI in HotSpot
if (false == true) Universe.end(42);