• 中国精品科技期刊
  • 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]Zhao Xingwang, Zhang Yaopu, Liang Jiye. Two-Stage Ensemble-Based Community Discovery Algorithm in Multilayer Networks[J]. Journal of Computer Research and Development, 2023, 60(12): 2832-2843. DOI: 10.7544/issn1000-1239.202220214
    [2]Zhao Xia, Zhang Zehua, Zhang Chenwei, Li Xian. RGNE:A Network Embedding Method for Overlapping Community Detection Based on Rough Granulation[J]. Journal of Computer Research and Development, 2020, 57(6): 1302-1311. DOI: 10.7544/issn1000-1239.2020.20190572
    [3]Zheng Wenping, Che Chenhao, Qian Yuhua, Wang Jie. A Two-Stage Community Detection Algorithm Based on Label Propagation[J]. Journal of Computer Research and Development, 2018, 55(9): 1959-1971. DOI: 10.7544/issn1000-1239.2018.20180277
    [4]Du Hangyuan, Wang Wenjian, Bai Liang. An Overlapping Community Detection Algorithm Based on Centrality Measurement of Network Node[J]. Journal of Computer Research and Development, 2018, 55(8): 1619-1630. DOI: 10.7544/issn1000-1239.2018.20180187
    [5]Liu Yao, Kang Xiaohui, Gao Hong, Liu Qiao, Wu Zufeng, Qin Zhiguang. A Community Detecting Method Based on the Node Intimacy and Degree in Social Network[J]. Journal of Computer Research and Development, 2015, 52(10): 2363-2372. DOI: 10.7544/issn1000-1239.2015.20150407
    [6]Xin Yu, Yang Jing, Xie Zhiqiang. A Semantic Overlapping Community Detecting Algorithm in Social Networks Based on Random Walk[J]. Journal of Computer Research and Development, 2015, 52(2): 499-511. DOI: 10.7544/issn1000-1239.2015.20131246
    [7]Sun Yifan, Li Sai. Similarity-Based Community Detection in Social Network of Microblog[J]. Journal of Computer Research and Development, 2014, 51(12): 2797-2807. DOI: 10.7544/issn1000-1239.2014.20131209
    [8]Zhu Mu, Meng Fanrong, and Zhou Yong. Density-Based Link Clustering Algorithm for Overlapping Community Detection[J]. Journal of Computer Research and Development, 2013, 50(12): 2520-2530.
    [9]Deng Xiaolong, Wang Bai, Wu Bin, and Yang Shengqi. Modularity Modeling and Evaluation in Community Detecting of Complex Network Based on Information Entropy[J]. Journal of Computer Research and Development, 2012, 49(4): 725-734.
    [10]Lin Youfang, Wang Tianyu, Tang Rui, Zhou Yuanwei, Huang Houkuan. An Effective Model and Algorithm for Community Detection in Social Networks[J]. Journal of Computer Research and Development, 2012, 49(2): 337-345.

Catalog

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

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return