单词 | JNI | ||||||||||||||
释义 | JNI
更多释义 收起释义 例句释义: 本地调用 1. The native code for a JNI application is compiled into a shared library or executable that's loaded into the process address space. JNI应用程序的本机代码编译成加载到进程地址空间中的共享库或可执行程序。 www.ibm.com 2. The JNI specification requires that each native be able to create at least 16 local references. JNI规范要求各本机代码至少能创建16个本地引用。 www.ibm.com 3. A common JNI programming pitfall is to call a JNI method and to proceed without checking for exceptions once the call is complete. 一个常见的JNI缺陷是调用JNI方法而未在调用完成后测试异常。 www.ibm.com 4. It's possible to recompile your own JNI libraries with one of these tools to track a native memory leak in your code. 可以使用其中一款工具重新编译您自己的JNI库,以跟踪代码中的本机内存泄漏。 www.ibm.com 5. A thread must be attached to the VM before any other JNI calls can be made. 一个线程必须附加到虚拟机,在任何其他JNI可调用之前。 game.ceeger.com 6. It recommended that you do not relax the EJB restrictions on using JNI in your application server, as this can compromise its robustness. 建议在应用服务器上使用JNI时不要放宽EJB限制,因为这可能会损害它的稳健性。 www.ibm.com 7. Some APIs can only be invoked from C code, if necessary, through the use of JNI or other coupling facilities. 有些API只能从C代码中调用,必要时通过使用JNI或其他耦合设施(couplingfacilities)调用。 www.ibm.com 8. The EJB specification forbids using JNI, as it compromises the stability, security, and scalability of the application server. EJB的技术规定禁止使用JNI,因为它损害了应用服务器的稳定性、安全性和可伸缩性。 www.ibm.com 9. The goal is to help you recognize and steer clear of them so that you can write safe, effective JNI code that performs well from the start. 其目标是帮助您认识到并避免它们,以便您可以编写安全、高效、性能出众的JNI代码。 www.ibm.com 10. This generates a trace of the native methods called as well as the JNI callbacks that they make. 这将生成对已调用的本机方法以及它们发起的JNI回调的跟踪。 www.ibm.com 1. IBM's JVM implementation includes an option that turns on automatic JNI checks, at the cost of slower execution. IBM的JVM实现包括开启自动JNI检测的选项,其代价是较慢的执行速度。 www.ibm.com 2. Does not support Java Native Interface (JNI), Raw Native Interface (RNI), and Remote Method Invocation (RMI). 不支持Java本机接口(JNI)、原始本机接口(RNI)和远程方法调用(RMI)。 msdn2.microsoft.com 3. Native operations should be grouped together whenever possible to reduce the number of JNI calls. 只要有可能就应该将本机操作集合在一起,以减少JNI调用的数量。 www.ibm.com 4. Note that it is beyond the scope of this article to provide a complete description of JNI. 注意,提供JNI的完整描述不在本文范围之内。 www.ibm.com 5. If your application server allowed JNI, then an error in the JNI access could bring down the entire application server! 如果应用服务器支持JNI,那么JNI访问中的一个错误都会使整个应用服务器停止运行! www.ibm.com 6. Handling exceptions natively in the JNI code itself, though unavoidable sometimes, leads to performance degradation. 使用JNI代码本地处理异常,尽管有时不可避免地会导致性能下降。 www-128.ibm.com 7. JNI allows Java code that runs inside a JVM to interoperate with applications and libraries written in other programming languages. JNI允许运行在JVM中的Java代码与以其他编程语言编写的应用程序和库实现互操作。 www-128.ibm.com 8. The tutorial moves on to introduce the Java Native Interface (JNI), which is the technology of interest when working with the NDK. 随后,本教程介绍了Java本地接口(JNI),这是使用NDK时您会感兴趣的一种技术。 www.ibm.com 9. Pinned objects are those that cannot be moved during heap compaction because of JNI (Java Native Interface) access to these objects. Pinned对象是在堆压缩过程中由于JNI(Java本机接口)对其进行访问而无法移动的那些对象。 www.ibm.com 10. It issues warnings when it sees code that doesn't conform to the specification and can help you find instances of the common JNI pitfalls. 它会在发现未符合规范的代码时发出警告,并且可以帮助您确定常见的JNI缺陷。 www.ibm.com 1. A JVM implementing the JNI can allocate and store thread-local data in the area pointed to by the JNI interface pointer. 实现JNI的JVM可以在JNI接口指针指向的区域中分配和存储本地线程数据。 www-128.ibm.com 2. However, communication between JVM and native code is generally slow, thus too many JNI calls can degrade performance. 不过,JVM与本机代码之间的通信通常很慢,因此,太多的JNI调用可能会降低性能。 www-128.ibm.com 3. If you have your own JNI libraries, try stubbing them out entirely one at a time to determine if they are causing the leak. 如果您有自己的JNI库,尝试完全禁用它们,以确定它们是否会造成泄漏。 www.ibm.com 4. The JDIC component code itself figures out which OS the application is being run on and calls the appropriate JNI function. JDIC组件代码本身指出正在哪个操作系统上运行应用程序,并调用适当的JNI函数。 www.ibm.com 5. Offers a tutorial and detailed description of JNI features and programming techniques. 给出了关于JNI特性及编程技术的教程和详细描述。 www-128.ibm.com 6. Class also maintains a JNI environment pointer at a thread-specific location. 类还在特定于线程的位置保存一个JNI环境指针。 www-128.ibm.com 7. JNI puts the interface pointer value at a location specified by its first parameter. JNI将接口指针值放在由第一个参数指定的位置。 www-128.ibm.com 8. jni is of little use except when working with JNI and native libraries. jni很少使用,除了使用JNI或本地库时。 www.ibm.com 9. JNI allows native code (applications written in native languages such as C and C ) to call Java methods and vice versa. JNI允许本机代码(使用C和C 等本机语言编写的应用程序)调用Java方法,反之亦然。 www.ibm.com 10. This type of barrier processing is also required for internal JVM structures, including the JNI Global Reference list. 内部JVM结构也需要此类屏障处理,包括JNI全局引用列表结构。 www.ibm.com 1. You're now aware of the top 10 JNI programming pitfalls and have learned some good practices for identifying them in existing or new code. 现在,您已经了解了10大JNI编程缺陷,以及一些用于在已有或新代码中确定它们的良好实践。 www.ibm.com 2. Yawning ['jni] and headache are the most common adverse reactions. 打瞌睡、头痛是本品最常见的不良反应。 www.100md.com 3. When a JNI invocation happens, it usually involves two process. 通常这包含两个处理。 www.blogjava.net 4. The JNI interface pointer, once obtained, should be stored in memory for later use. 一旦获得JNI接口指针,应该将其保存起来以便后续使用。 www-128.ibm.com 5. Using the IBM JVM's -Xcheck: jni option as part of the standard development process can help you find coding errors much more easily. 使用IBMJVM的-Xcheck:jni选项作为标准开发流程的一部分可以帮助您更加轻松地找出代码错误。 www.ibm.com 6. The first switch is from a Java API layer to a Java native Interface (JNI) layer. 第一个切换是从JavaAPI层到JavanativeInterface(JNI)层。 www.ibm.com 7. The utility is useful in environments where the VM is started using the JNI Invocation API rather than the standard Java launcher. 这对于使用JNIInvocationAPI而不是标准Java启动程序启动VM的环境特别有用。 www.ibm.com 8. As we pointed out in our introduction, the use of JNI isn't sufficient to meet these needs. 正如我们在引言中所指出的,JNI的使用并不能满足这些需求。 www.ibm.com 9. The native code that runs in the same process space as the invoking JVM under JNI. 本机代码是作为JNI中的调用JVM运行在相同的进程空间内的。 www.ibm.com 10. It is strongly recommended NOT to invoke Java code through JNI using user exits. 强烈建议不要使用用户出口来通过JNI调用Java代码。 www.ibm.com 1. The first parameter is the JNI environment, frequently used with helper functions. 第一个参数是JNI环境,它与helper函数会被频繁调用。 www.bing.com 2. Not all the findings the JNI check reports are necessarily errors in the code. JNI检测报告的所有结论并不一定都是代码中的错误。 www.ibm.com 3. This means is that you need to keep the JNI interface pointer in thread - local data as well . 这意味着您也需要以本地线程数据保存JNI接口指针。 www.bing.com 4. The native may not make any JNI calls between these methods and may not block for any reason. 本机可能不会在这些方法之间发起任何调用,并且可能不会由于任何原因而阻塞。 www.ibm.com 5. The Invocation API is part of the JNI specification. TheInvocationAPI是JNI规范的一部分。 www-128.ibm.com 6. Validate that there is a check for an exception after all JNI calls that can raise an exception. 验证在所有可能引起异常的JNI调用之前都检测了异常。 www.ibm.com 7. JNI context for the main thread of the app. 应用程序主线程用JNI环境。* blog.sina.com.cn 8. List all the occurrences of JNI references in your application. 列出应用程序中出现的所有JNI引用。 www.ibm.com 9. The JNI specification states that each JNIEnv is local to a thread. JNI规范规定每个JNIEnv对于线程来说都是本地的。 www.ibm.com 10. Many of the JNI methods that natives can call can raise exceptions on the executing thread. 本机能调用的许多JNI方法都会引起与执行线程相关的异常。 www.ibm.com 1. This article covers the 10 most common coding and design errors that users of the JNI make. 本文介绍JNI用户最常遇到的10大编码和设计错误。 www.ibm.com 2. All native JNI methods should be declared in the Java code. 所有本地JNI方法都应该在Java代码中声明。 www-128.ibm.com 3. Enabling or disabling strict native call checking (-Xcheck: jni). 启用还是禁用严格的本机调用检查(-Xcheck:jni)。 www.ibm.com 4. The JNI interface pointer is valid only in the current thread. JNI接口指针只在当前线程中有效。 www-128.ibm.com 5. Don't think that you need to be an expert in native code or JNI or must know every OS. 不要认为自己必须是一名本机代码或JNI专家,或者必须知道每个操作系统。 www.ibm.com 6. The second switch is from a JNI layer to a kernel space. 第二个切换是从JNI层到内核空间。 www.ibm.com 7. Thus, you have to modify the signatures of existing functions to work with JNI. 因而,您不得不修改现有函数的署名以便使用JNI。 www.ibm.com 8. JNI lets you call native code in the Java language, and vice versa. JNI让您可以在Java语言中调用本机代码,反之亦然。 www-128.ibm.com 9. The third file contains a Java proxy class that implements the interface by calling the JNI methods. 第三个文件包含Java代理类,它调用JNI方法实现接口。 www.ibm.com 10. ikvm-native. dll: A unmanaged C library needed for the JNI interface. ikvm-native.dll:JNI接口所需的一个非托管C程序库。 www.infoq.com 1. Options such as JNI and other . Net to Java integration libraries were not chosen for a number of reasons. 其它选项,例如JNI和其它.NET与Java间的集成库,它们没有入选的理由很多。 www.infoq.com 2. ning just like a native method. Thus it can, among other things, issue JNI calls to. 这时这个指针运行的就像一个本地方法一样。因此可以除其他事项外。 hi.baidu.com 3. A thread executing native code uses a JNIEnv to make JNI methods calls. 执行本机代码的线程使用JNIEnv发起JNI方法调用。 www.ibm.com 4. JNI's flexibility and power introduce the risk of programming practices that can lead to poor performance, bugs, and even program crashes. JNI的灵活性和强大性带来了一些编程实践上的风险,比如导致性能较差、出现bug甚至程序崩溃。 www.ibm.com 5. No use of heap or JNI resources beyond the absolute minimum. 除了绝对必要的之外,没有使用堆或者JNI资源。 www-128.ibm.com 6. fjni tells gcj that native methods in your Java code are implemented using JNI. fjni告诉gcj在Java代码中的本地方法(nativemethods)是用JNI实现的。 www.infoq.com 7. There is no defined behavior if you want to use JNI to change final fields. 如果你使用JNI来改变你的final字段,这方面的行为是没有定义的。 www.bing.com 8. See the Resources section below for more information on JNI. 请参阅下面的参考资料部分以获得关于JNI的更多信息。 www.ibm.com 9. And in my case even the connectors from Tomcat to Apache and the database are pure Java, because they use sockets to interoperate, not JNI. 在我的这个解决方案中,甚至Tomcat与Apache、数据库的连接器都是纯Java编写的,因为它们使用套接字而不是JNI来协同工作。 www.wangchao.net.cn 10. The second file contains JNI native declarations for each of the methods in the interface, shown in Listing 5 第二个文件包含接口中每个方法的JNI本机声明,如清单5所示 www-128.ibm.com 1. Additional information about JNI programming can be found in the following developerWorks articles 在下面的developerWorks文章中可以找到关于JNI编程的更多资料 www-128.ibm.com 2. The JNI interface pointer can be obtained in two ways JNI接口指针可以两种方式获得 www-128.ibm.com 3. Research of Platform Independent Programming Using JNI Technology JNI技术实现跨平台开发的研究 www.ilib.com.cn 4. Discuss on Application of JNI Technology in Embedded Software Development 浅谈JNI技术在嵌入式软件开发中的应用 www.ilib.cn 5. Validating new code against the JNI specification 根据JNI规范验证新代码 www.ibm.com 6. Once the thread is done with JNI calls, it needs to release the interface pointer by calling 一旦线程完成JNI调用,它需要通过调用 www-128.ibm.com 7. Implementation of JNI technology in smart cards 智能卡中JNI技术的应用实现 www.ilib.cn 8. Performance of JNI Field and Method Operations JNI成员域和方法操作的性能 blog.sina.com.cn 9. A string representing the method's signature in JNI syntax 以JNI语法表示方法签名的字符串 www.ibm.com 10. You enable the JNI check option with the following command line 您可以通过以下命令行启用JNI检测选项 www.ibm.com 1. Analyzing and implementation of application's frame based on JNI technology 基于JNI技术应用框架的分析和实现 www.ilib.cn 2. Use the following code to compile and create a JNI header file for Pipes. java 使用以下代码为Pipes.java编译和创建JNI头文件 www.ibm.com 3. load and initialize a Java VM, return a JNI interface 加载或初始化Java虚拟机,返回Java本地调用接口 www.infoq.com 4. Summary of JNI String Functions 函数的总结 blog.sina.com.cn 5. Research of Microcomputer Data Gain Based on JNI Technology 基于JNI技术的微机数据提取的研究 www.ilib.cn 6. For example, Listing 1 shows the JNI code required to call a static method 举例来说,清单1展示了调用静态方法所需的JNI代码 www.ibm.com |
||||||||||||||
随便看 |
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。