Java performance: Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile web edit
m Dead link
Tags: Reverted Visual edit Mobile edit Mobile web edit Advanced mobile edit
Line 360:
[[Excelsior JET]] approaches the problem from the other side. Its Startup Optimizer reduces the amount of data that must be read from the disk on application startup, and makes the reads more sequential.
 
In November 2004, [[Nailgunhttps://web-beginner.net/introduction-to-java/ (software)|Nailgun]Java], a "client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead" was publicly released.<ref>[http://martiansoftware.com/nailgun/ Nailgun]</ref> introducing for the first time an option for [[Script (computing)|scripts]] to use a JVM as a [[Daemon (computing)|daemon]], for running one or more Java applications with no JVM startup overhead. The Nailgun daemon is insecure: "all programs are run with the same permissions as the server". Where [[multi-user]] security is needed, Nailgun is inappropriate without special precautions. Scripts where per-application JVM startup dominates resource use, see one to two [[order of magnitude]] runtime performance improvements.<ref>The Nailgun [http://martiansoftware.com/nailgun/background.html Background] page demonstrates "''best case scenario''" speedup of 33 times (for scripted [["Hello, World!" program]]s i.e., short-run programs).</ref>
 
===Memory use===