Zhou Jing, Wang Lei, Liu Zhichenget al. Dynamic inlining scheme improvement in JVM[J]. Journal of Beijing University of Aeronautics and Astronautics, 2006, 32(03): 352-356. (in Chinese)
Citation: Zhou Jing, Wang Lei, Liu Zhichenget al. Dynamic inlining scheme improvement in JVM[J]. Journal of Beijing University of Aeronautics and Astronautics, 2006, 32(03): 352-356. (in Chinese)

Dynamic inlining scheme improvement in JVM

  • Received Date: 25 Mar 2005
  • Publish Date: 31 Mar 2006
  • In the Java virtual machine(JVM), traditional counter-based hotspot-detecting method usually can not get the caller-callee relationship, therefore, the dynamic compiler which applied this scheme would lose some optimization opportunities, such as method inlining. A dynamic inlining scheme based on online feedback information was proposed. Compared with the algorithms presented, the new method introduced BC Map, it was constructed by the baseline compiler when a method was compiled for the first time. BC Map can identify the index of the bytecode that invoked method M in its caller. With constructing Guarded Rec record, the compiler can get the type of virtual method’s receiver object correctly, and then identify the relationship between caller and callee. The guarded inlining guided by this information can avoid identifying the type of virtual method’s receiver object statically, get the dynamic information more precisely, and then it can increase applications’ performance.

     

  • [1] Gosling J, Joy B, Steele G. The Java language specification[M]. MA:Addison Wesley, 1996[2] Ayers A, Gottlieb R, Schooler R. Aggressive inlining . Proceedings of the ACM SIGPLAN 1997 Conference on Programming Language Design and Implementation . New York:ACM Press, 1997.134~145[3] Cierniak M, Lueh G Y, Stichnoth J M. Practicing JUDO:Java under dynamic optimizations . ACM SIGPLAN Notices . New York:ACM Press, 2000.13~26[4] Detlef D, Agesen O. Inlining of virtual methods . Proceedings of the 13th European Conference on Object-Oriented Programming . London:Springer-Verlag, 1999.258~278[5] Sun Cop.The Java HotSpot virtual machine,v1.4.1 .http://Java.sun.com/products/hotspot/docs/whitepaper/Java Hotspot v1.4.1/Java HSpot WP v1.4.1 1002 1.html,2002-09/2005-03[6] Burke M G, Choi J D, Fink S, %et al%. The Jalapeo dynamic optimization compiler for Java . Proceedings ACM 1999 Java Grande Conference . New York:ACM Press, 1999[7] Holzle U, Ungar D. Reconciling responsiveness with performance in pure object-oriented languages[J]. ACM Transactions on Programming Languages and Systems, 1996,18:355~400[8] Cierniak M, Eng M, Glew N, %et al%. The open runtime platform:a flexible high-performance managed runtime environment[J]. Intel Technology Journal, 2003, 7(1):5~18[9] Suganuma T, Ogasawara T, Takeuchi M, %et al%.Overview of the IBM Java just-in-time compiler[J]. IBM Systems Journal, 2000, 39(1):175~193
  • 加载中

Catalog

    通讯作者: 陈斌, bchen63@163.com
    • 1. 

      沈阳化工大学材料科学与工程学院 沈阳 110142

    1. 本站搜索
    2. 百度学术搜索
    3. 万方数据库搜索
    4. CNKI搜索

    Article Metrics

    Article views(3172) PDF downloads(714) Cited by()
    Proportional views
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return