当原生代码需要在JNI调用之间保存VM对象的句柄,需要显式引用管理。
互联网摘选
它告诉编译和链接系统该方法将在原生代码中实现。
互联网摘选
NDK是一个工具套件,开发者可以凭借其创建本地代码的可执行文件与共享程序库。
互联网摘选
然而,由于类加载器机制、应用程序打包方式、本机代码的使用以及部署计划等方面存在差异,这一过程并非一帆风顺。
互联网摘选
Subsequent references to that constructed generic type then use the same native code.
后来引用已经被构建的泛型就运行本地代码.
互联网摘选
避免在调试混合模式(兼有本机代码和托管代码)时在系统组件上设置断点.
互联网摘选
使用此属性可返回本机映像生成服务所绑定到的程序集的名称。
互联网摘选
generates a native image to be used by a profiler that uses instrumented code.
生成将由使用规范的代码的探查器使用的本机映像。
互联网摘选
a native image is a file containing compiled processor-specific machine code.
本机映像是包含已编译的处理器特定的机器码的文件。
互联网摘选
it persists the generated code in the native image cache as a file on disk.
它将本机映像缓存中生成的代码以文件的形式持久保存在磁盘上。
互联网摘选
某一字符串冻结之后,代码只需使用本机映像中的地址就能引用该字符串。
互联网摘选
可以使用其中一款工具重新编译您自己的JNI库,以跟踪代码中的本机内存泄漏。
互联网摘选
MSIL is subsequently JIT-compiled, just before execution, into native machine code.
MSIL随后 恰好在执行前被实时(JIT)编译成本机代码.
互联网摘选
JIT是一个代码生成器,它将Java字节码转换成宿主平台的本地代码。
互联网摘选
这也将意味着可能提供一种本地客户端接口,可适合于任何的目标客户的游戏平台,并降低游戏代码中的内存和处理花费。
互联网摘选
you can now debug mixed-mode native and managed code on 64-bit operating systems.
现在可以在64位操作系统上调试混合模式的本机和托管代码.
互联网摘选
meanwhile, managed code executes in native machine language and enjoys rich access to os features.
同时, 托管代码以本机语言执行,访问并享受丰富的操作系统特性.
互联网摘选
As a secondary step, the O-code was compiled into the native language of the target machine.
接下来的第二个步骤是将O-code编译成目标机器的原始语言。
互联网摘选