首页> 外国专利> Lightweight native method invocation interface for java computing environments

Lightweight native method invocation interface for java computing environments

机译:Java计算环境的轻量级本地方法调用接口

摘要

Improved techniques for invocations of native methods in Java computing environments are disclosed. The techniques can be implemented in Java computing environments to facilitate efficient use of methods (functions or subroutines) written in programming languages other than Java (e.g., C, C++, etc.). As such, the techniques are highly suitable for use by virtual machines operating with relatively less memory and/or computing power (e.g., embedded systems). A lightweight native method invocation interface can be implemented to provide direct access to Java parameters on the execution stack. In addition, the lightweight native method invocation can include macro instructions that operate efficiently to convert the Java parameters into native parameters. Thus, the lightweight native method invocation can significantly reduce the overhead associated with conventional Java native method invocation techniques. As a result, performance of virtual machines, especially those operating with relatively less memory and/or computing power, can be improved.
机译:公开了用于Java计算环境中的本地方法的调用的改进技术。可以在Java计算环境中实现这些技术,以促进有效使用以Java以外的编程语言(例如C,C ++等)编写的方法(函数或子例程)。这样,该技术非常适合由以相对较少的存储器和/或计算能力进行操作的虚拟机(例如,嵌入式系统)使用。可以实现轻量级本地方法调用接口,以提供对执行堆栈上Java参数的直接访问。另外,轻量级本地方法调用可以包括宏指令,这些指令可以有效地将Java参数转换为本地参数。因此,轻量级本地方法调用可以显着减少与常规Java本地方法调用技术相关的开销。结果,可以提高虚拟机的性能,特别是那些以相对较少的内存和/或计算能力运行的虚拟机。

著录项

  • 公开/公告号GB2388689B

    专利类型

  • 公开/公告日2005-07-20

    原文格式PDF

  • 申请/专利权人 * SUN MICROSYSTEMS INC;

    申请/专利号GB20030020725

  • 发明设计人 DAVID * WALLMAN;STEPAN * SOKOLOV;

    申请日2002-05-09

  • 分类号G06F9/44;

  • 国家 GB

  • 入库时间 2022-08-21 21:57:40

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号