首页> 美国卫生研究院文献>other >Hybrid PolyLingual Object Model: An Efficient and Seamless Integration of Java and Native Components on the Dalvik Virtual Machine
【2h】

Hybrid PolyLingual Object Model: An Efficient and Seamless Integration of Java and Native Components on the Dalvik Virtual Machine

机译:混合多语言对象模型:Dalvik虚拟机上Java和本机组件的高效无缝集成

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

JNI in the Android platform is often observed with low efficiency and high coding complexity. Although many researchers have investigated the JNI mechanism, few of them solve the efficiency and the complexity problems of JNI in the Android platform simultaneously. In this paper, a hybrid polylingual object (HPO) model is proposed to allow a CAR object being accessed as a Java object and as vice in the Dalvik virtual machine. It is an acceptable substitute for JNI to reuse the CAR-compliant components in Android applications in a seamless and efficient way. The metadata injection mechanism is designed to support the automatic mapping and reflection between CAR objects and Java objects. A prototype virtual machine, called HPO-Dalvik, is implemented by extending the Dalvik virtual machine to support the HPO model. Lifespan management, garbage collection, and data type transformation of HPO objects are also handled in the HPO-Dalvik virtual machine automatically. The experimental result shows that the HPO model outweighs the standard JNI in lower overhead on native side, better executing performance with no JNI bridging code being demanded.
机译:经常会发现Android平台中的JNI具有低效率和高编码复杂性。尽管许多研究人员已经研究了JNI机制,但很少有人同时解决Android平台上JNI的效率和复杂性问题。在本文中,提出了一种混合多语言对象(HPO)模型,以允许将CAR对象作为Java对象以及在Dalvik虚拟机中的副对象进行访问。 JNI可以接受的替代品以无缝,高效的方式在Android应用程序中重用CAR兼容组件。元数据注入机制旨在支持CAR对象与Java对象之间的自动映射和反射。通过扩展Dalvik虚拟机以支持HPO模型,可以实现称为HPO-Dalvik的原型虚拟机。 HPO对象的生命周期管理,垃圾回收和数据类型转换也将在HPO-Dalvik虚拟机中自动处理。实验结果表明,HPO模型在本机端的开销较低的情况下胜过了标准JNI,从而在不需要JNI桥接代码的情况下具有更好的执行性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号