Kazuaki Ishizaki, Motohiro Kawahito, et al.
SIGPLAN Notices (ACM Special Interest Group on Programming Languages)
Collecting hot paths is important for restructuring and optimizing the target program effectively. It is, however, challenging for Just-In-Time (JIT) compilers, which must collect path profiles on the fly at runtime. In this paper, we propose an efficient online path profiling technique, called structural path profiling (SPP), suitable for JIT compilers. The key idea is to partition the target method into a hierarchy of the nested graphs based on the loop structure, and then to profile each graph independently. With SPP, we can collect accurate path profiles efficiently with low overhead. The experimental results show that our technique can collect path profiles with an accuracy of around 90% compared to the offline complete path profiles, while it incurs only 2-3% overhead on average in the active profiling phase.
Kazuaki Ishizaki, Motohiro Kawahito, et al.
SIGPLAN Notices (ACM Special Interest Group on Programming Languages)
Motohiro Kawahito, Hideaki Komatsu, et al.
Transactions on Architecture and Code Optimization
Toshio Suganuma, Toshiaki Yasue, et al.
ACM TOPLAS
Atul Kumar, Diptikalyan Saha, et al.
ASE 2024