• DocumentCode
    2214234
  • Title

    Lightweight transparent Java thread migration for distributed JVM

  • Author

    Zhu, Wenzhang ; Wang, Cho Li ; Lau, Francis C M

  • Author_Institution
    Dept. of Comput. Sci. & Inf. Syst., Hong Kong Univ.
  • fYear
    2003
  • fDate
    9-9 Oct. 2003
  • Firstpage
    465
  • Lastpage
    472
  • Abstract
    A distributed JVM on a cluster can provide a high-performance platform for running multithreaded Java applications transparently. Efficient scheduling of Java threads among cluster nodes in a distributed JVM is desired for maintaining a balanced system workload so that the application can achieve maximum speedup. We present a transparent thread migration system that is able to support high-performance native execution of multi-threaded Java programs. To achieve migration transparency, we perform dynamic native code instrumentation inside the JIT compiler. The mechanism has been successfully implemented and integrated in JESSICA2, a JIT-enabled distributed JVM, to enable automatic thread distribution and dynamic load balancing in a cluster environment. We discuss issues related to supporting transparent Java thread migration in a JIT-enabled distributed JVM, and compare our solution with previous approaches that use static bytecode instrumentation and JVMDI. We also propose optimizations including dynamic register patching and pseudo-inlining that can reduce the runtime overhead incurred in a migration act. We use measured experimental results to show that our system is efficient and lightweight
  • Keywords
    Java; multi-threading; parallel architectures; parallelising compilers; virtual machines; JIT compiler; JIT-enabled distributed JVM; JVMDI; Java thread migration; dynamic register patching; multithreaded Java program; pseudo-inlining; static bytecode instrumentation; transparent thread migration system; Java; Parallel processing; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Processing, 2003. Proceedings. 2003 International Conference on
  • Conference_Location
    Kaohsiung
  • ISSN
    0190-3918
  • Print_ISBN
    0-7695-2017-0
  • Type

    conf

  • DOI
    10.1109/ICPP.2003.1240611
  • Filename
    1240611