Why add another invoke bytecode?
为什么增加另一种调用字节码呢?
Fetches the next bytecode to execute.
获取待执行的下一个字节码。
Using bytecode and the compiler back ends
使用字节码和编译器后端
This makes slicing and dicing your bytecode easy.
这使对字节码的切片和切块变得容易。
Instead, it just runs the bytecode that was generated.
相反,它只运行生成的字节码。
InfoQ: What's your experience with bytecode instrumentation?
InfoQ:对于字节码instrumentation你有何经验?
It's important to point out that Rubinius is using bytecode interpretation.
有一点很重要需要指出:Rubinius使用的是字节码解释。
In essence, I was implementing my own on-the-fly validator for the bytecode.
从本质上说,我是在实现自己的字节码即时检验器。
Once your program is compiled to bytecode, you can compile it to native code.
一旦你的程序被编译成字节码,你就可以将他们编译为本地代码。
Another way to get fast executing code is to generate the JVM bytecode directly.
另一个可产生快速执行代码的方法就是直接产生JVM字节码。
In fact, AOP can be seen as a high level language for bytecode manipulation.
实际上,AOP可以视作是操作字节码的高阶语言。
You don't need an AspectJ library, bytecode enhancement, or stacks of libraries.
您不需要aspectj库、字节码增强或一大堆的库。
Each event is encoded using a bytecode representation called ESAX (encoded SAX).
每个事件都通过称为ESAX(编码的SAX)的字节码表示法进行编码。
It's not just the source or bytecode formats: it's their runtime counterpart too.
并不只是源代码或字节码格式上的问题:它们的runtime对等物上也一样。
If you successfully compile the source code, you can execute the bytecode within a JVM.
如果成功地编译了源代码,就可以在JVM中执行字节码。
How much of an applications code is turned into bytecode depends on a couple of factors.
一个应用中有多少代码能转化成字节码依赖于几个因素。
In bytecode mode, the resulting compiled bytecode is written out to another Perl script.
在字节码的模式中,最终编译好的字节码被写入另外一个perl脚本中。
Keeping frequently used scripts in bytecode form would give us a sizable performance boost.
将频繁使用的脚本保持为字节码形式可以帮助提升可观的性能。
Do you want to try transforming methods, but are reluctant to start programming in bytecode?
您是否想转换方法,但是又不愿在字节码中启动程序呢?
Therefore, executing a bytecode instruction is much faster than visiting a syntax tree node.
因此,执行字节码指令要比访问语法树节点快得多。
Bytecode instrumentation: This is the process of injecting bytecode into the application classes.
字节码插装:该流程将字节码注入到应用程序类中。
Run some events through it, watch it load classes, compile bytecode, and of course, manage memory.
对它运行一些事件,观察它加载类、编译字节代码以及管理内存。
Second, a bytecode dispatch is a single direct memory read, followed by a single indirect branch.
其次,字节码调度程序只是一个简单地从内存中直接读取,转而间接调度分支程序的过程。
IT may include JVM Settings such as disabling bytecode verification and reducing JIT compilation costs.
它还可能包括JVM设置,比如,禁用字节码验证和减少JIT编译成本。
Yes, we produce bytecode for the VM, which can optionally produce native code for several architectures.
是的,我们为虚拟机生成字节码,可以为多种架构产生不同的原生代码。
The code generation model was added to make the bytecode generation more modular and easier to maintain.
添加代码生成模型是为了让字节码生成更加模块化、更容易维护。
It is convenient, if unsupported, and the compiler generates mostly compatible bytecode in a single pass.
这很方便,如果不支持的话,编译器会一次生成基本兼容的字节码。
In the earlier article, I demonstrated how run-time bytecode generation can be used to replace reflection.
在上一期文章中,我演示了如何用运行时字节码生成来代替反射。
Some of the problems I ran into are specific to BCEL, but others apply to other bytecode frameworks as well.
我遇到的一些问题是bcel特有的,但是其他问题在其他字节码框架中也有。
I'll return to this point later in the article when I discuss some of the details of the bytecode generation.
在这篇文章后面,当我讨论字节码生成的细节时,我还会回到这一问题上。
应用推荐