Title :
A Trace-Based JIT Compilation Framework for XQuery
Author :
Chenzhi Wu ; Husheng Liao ; Chenglong Yu ; Hang Su
Author_Institution :
Beijing Univ. of Technol., Beijing, China
Abstract :
Query is a functional language for querying XML data. In network environment, queries are generated dynamically and executed in interpretation way. This means query programs cannot be compiled in advance to achieve a high efficiency. The just-in-time (JIT) compliation technique base on method or trace have been propsed to utilize the compilation technique. Since queries are usually short and lack of user-defined functions, we think the trace-based JIT compilation is more applicable than the method-based compilation. In this paper, we propose a trace-based JIT compilation framework to improve the performance of Query execution. Program branches executed frequently are identified as traces and compiled into object codes. We also improve the trace detection technique. Interconnected traces are merged into a trace tree and compiled at runtime to avoid unnecessary overhead of execution environment alternation between interpretation and compilation. Experiment results show our trace-based JIT compilation is more efficient than interpretation and method-based JIT compilation.
Keywords :
XML; functional languages; program compilers; program diagnostics; query languages; XML data querying; XQuery; compilation technique; functional language; interconnected traces; just-in-time compliation technique; method-based compilation; network environment; object codes; query execution; query programs; runtime compilation; trace detection technique; trace tree; trace-based JIT compilation framework; user-defined functions; Abstracts; Books; Engines; Flow graphs; Java; Radiation detectors; Runtime; JIT compilation; SECD abstract machine; Trace-based compilation; XQuery;
Conference_Titel :
Engineering of Complex Computer Systems (ICECCS), 2014 19th International Conference on
Conference_Location :
Tianjin
Print_ISBN :
978-1-4799-5481-0
DOI :
10.1109/ICECCS.2014.30