• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Huang Yukun, Chen Rong, Pei Xilong, Cao Jing. A Compound Native Object Model Based on the Strategy of Cross-Language Object Migration[J]. Journal of Computer Research and Development, 2015, 52(1): 141-155. DOI: 10.7544/issn1000-1239.2015.20131166
Citation: Huang Yukun, Chen Rong, Pei Xilong, Cao Jing. A Compound Native Object Model Based on the Strategy of Cross-Language Object Migration[J]. Journal of Computer Research and Development, 2015, 52(1): 141-155. DOI: 10.7544/issn1000-1239.2015.20131166

A Compound Native Object Model Based on the Strategy of Cross-Language Object Migration

More Information
  • Published Date: December 31, 2014
  • The Java native interface (JNI) mechanism, which is designed to handle the interaction between native code and Java code, is currently widely utilized to develop mobile applications. However, JNI is observed hardly from perfection in two points: on one hand, the overhead of invoking functions of JNI interfaces heavily affects programs’ runtime performance; on the other hand, the complexity of the JNI’s programming specification prevents the integration and reusing of third party native components in Java code. To solve these problems, a new strategy is advised to migrate objects between Java components and native components by injecting necessary information of native objects into high-level objects. Guided by this strategy, a model of compound native objects (CNO) is proposed to integrate a Java object and a native object into a compound object which share same metadata maintained by Java class objects. Therefore the CNO model could literally reduce the overheads for the time saving of data type conversions, and lessen down the programming burden of the bridging code. A prototype of the CNO model is implemented on the basis of the Dalvik virtual machine such that Java could reuse third-party components in a dynamical and efficient way. Experiments show that the CNO model outweighs JNI in better performance of accessing native methods.
  • Related Articles

    [1]Tang Guowei, Wang Shanshe, Zhang Yan, Zhao Debin. Fractal-Searching-Tree-Based Embedded Wavelet Image Coding[J]. Journal of Computer Research and Development, 2013, 50(7): 1484-1490.
    [2]Zhou Lian, Wang Guojin. Piecewise Linear Approximation of Rational Triangular Surfaces[J]. Journal of Computer Research and Development, 2012, 49(5): 1116-1122.
    [3]Han Xuming, Zuo Wanli, Wang Limin, Shi Xiaohu. Atmospheric Quality Assessment Model Based on Immune Algorithm Optimization and Its Applications[J]. Journal of Computer Research and Development, 2011, 48(7): 1307-1313.
    [4]Huang Weixian and Wang Guojin. The L\-2 Distances for Rational Surfaces Based on Matrix Representation of Degree Elevation[J]. Journal of Computer Research and Development, 2010, 47(8): 1338-1345.
    [5]Yan Guanghui and Li Zhanhuai. A Two Phases Unsupervised Sequential Forward Fractal Dimensionality Reduction Algorithm[J]. Journal of Computer Research and Development, 2008, 45(11): 1955-1964.
    [6]Chen Jun and Wang Guojin. Optimal Parameterizations of the Degree 2 Rational Bézier Curves[J]. Journal of Computer Research and Development, 2008, 45(9): 1601-1604.
    [7]He Chuanjiang, Liu Weisheng, Shen Xiaona. Fast Fractal Image Coding Based on Quincunx Sums of Normalized Blocks[J]. Journal of Computer Research and Development, 2007, 44(12): 2066-2071.
    [8]Li Yajuan and Wang Guozhao. Uniform Interval Implicitization of Rational Surfaces[J]. Journal of Computer Research and Development, 2006, 43(5): 914-919.
    [9]Wang Fangshi, Xu De, and Wu Weixin. A Cluster Algorithm of Automatic Key Frame Extraction Based on Adaptive Threshold[J]. Journal of Computer Research and Development, 2005, 42(10): 1752-1757.
    [10]Zhang Can, Tu Guofang, Liu Xiaozhou. Remote Sensing Image Processing Using Wavelet Fractal Interpolation[J]. Journal of Computer Research and Development, 2005, 42(2): 247-251.
  • Cited by

    Periodical cited type(3)

    1. 丁坤,刘增泉,张经炜,杨泽南,李喆雨. 基于图像奇异值分解的局部遮挡光伏阵列输出特性建模研究. 综合智慧能源. 2023(02): 53-60 .
    2. 李新. 功率谱估计在舰船噪声特征提取中的应用仿真. 舰船科学技术. 2022(04): 43-46 .
    3. 杨宝军. 基于有限元特征值的船舶螺旋桨噪声数据分类算法. 舰船科学技术. 2021(14): 7-9 .

    Other cited types(3)

Catalog

    Article views (1393) PDF downloads (470) Cited by(6)

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return