如何将ByteCode转换为机器本机代码 [英] How Translate ByteCode to Machine Native Code

查看:89
本文介绍了如何将ByteCode转换为机器本机代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种在执行之前将Java ByteCode转换为机器本机代码以提高性能的转换器。

I am looking for a translator for translate Java ByteCode to Machine Native Code before execution to improve performance.

我听说OpenOffice是用JAVA制成的,但是我可以没有在他的安装文件夹中看到任何jar文件,因此,也许有一个翻译器,但我找不到它。

I heard that OpenOffice is made with JAVA, but I can't see any jar file in his installation folder, therefore, maybe there is a translator but I can't find it.

有人知道一些工具或商业产品吗?

Does anyone know some tool or comercial product to do that?

谢谢!

推荐答案

看看禽兽吗? JVM。请参阅我对这个问题的答复此处,以获取有关如何嵌入它以及可以用来生成标准的类库的指针。

Give a look to Avian JVM. See my reply here to this question for pointers on how to embed it and what class libraries you can use to generate your stand-alone executable.

如果您只需要托管语言/平台,也可以使用。NET / Mono AOT 。请参见Mono 2.x附带的mkbundle工具。

if you just need a managed language/platform, you can also use .NET/Mono AOT. See the mkbundle tool included with Mono 2.x.

这篇关于如何将ByteCode转换为机器本机代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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