开发者

Are there any jvms designed for programs that need to start quickly(like scripts)

开发者 https://www.devze.com 2023-04-03 01:42 出处:网络
If I want to write a java(or开发者_Python百科 other jvm language script) Maybe by doing something like caching jit results?

If I want to write a java(or开发者_Python百科 other jvm language script)

Maybe by doing something like caching jit results?

What about gcj compiled binaries?

(P.S. if you could explain waht techniques it uses to decrease startup time)


See https://www-304.ibm.com/support/docview.wss?uid=swg21255195 for such example.


Take a look at Nailgun: Insanely Fast Java. It runs a JVM server in the background and provides a thin client written in C to pass command line arguments and environment variables to the server process.

It means that all your scripts run in the same JVM server process, but avoids the startup overhead.

0

精彩评论

暂无评论...
验证码 换一张
取 消