有没有一种方法可以保存下一次运行的JAVA JIT信息,这样我就不必每天热身代码了? [英] Is there a way to save the JAVA JIT information for the next run so that i don't have to warm up the code every day?

查看:71
本文介绍了有没有一种方法可以保存下一次运行的JAVA JIT信息,这样我就不必每天热身代码了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个每天运行的JAVA流程,需要大约1,000或2,000次匹配,然后由JIT对其进行完全优化.我想做的是保存JIT信息,以便第二天它可以处于优化状态.看来这应该可行,但我找不到任何方法.

I have a JAVA process that runs every day and takes about 1,000 or 2,000 hits before it is fully optimized by the JIT. What I'd like to do is save the JIT info so that the next day it can start in an optimized state. It seems like this should be possible, but I have not been able to find any method for doing so.

推荐答案

您可以使用JET或GCJ之类的提前编译器,但是我不认为有任何标准方法可以保存JIT表单.请记住,这将您的程序与您正在运行的体系结构联系起来,但是听起来您已经意识到并接受了这一点.

You could use an ahead-of-time compiler like JET or GCJ, but I don't believe there's any standard way to save the JIT form. Keep in mind that this ties your program into the architecture you're running on, but it sounds like you're aware and accepting of this.

这篇关于有没有一种方法可以保存下一次运行的JAVA JIT信息,这样我就不必每天热身代码了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆