首页> 外国专利> Method and apparatus for efficient invocation of Java methods from native codes

Method and apparatus for efficient invocation of Java methods from native codes

机译:从本地代码有效调用Java方法的方法和装置

摘要

A method and apparatus in a data processing system for executing a Java method from native code. A method is examined prior to first execution of the method to identify a presence of selected parameters from a set of parameters for the method. A bitmask is created to describe the selected parameters. The set of parameters is copied to a frame using the mask. Further, a new return bytecode is used to handle a return to a native calling method. Method block location is handled using identifying information about the method.
机译:数据处理系统中用于从本地代码执行Java方法的方法和装置。在首先执行该方法之前检查一种方法,以从该方法的一组参数中识别所选参数的存在。创建一个位掩码以描述所选参数。使用掩码将参数集复制到框架。此外,新的返回字节码用于处理对本机调用方法的返回。使用有关方法的标识信息来处理方法块的位置。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号