Automatic Construction of Inlining Heuristics using Machine Learning

被引:0
|
作者
Kulkarni, Sameer [1 ]
Cavazos, John [1 ]
Wimmer, Christian [2 ]
Simon, Douglas [2 ]
机构
[1] Univ Delaware, Newark, DE 19716 USA
[2] Oracle Labs, Austin, TX USA
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Method inlining is considered to be one of the most important optimizations in a compiler. However, a poor inlining heuristic can lead to significant degradation of a program's running time. Therefore, it is important that an inliner has an effective heuristic that controls whether a method is inlined or not. An important component of any inlining heuristic are the features that characterize the inlining decision. These features often correspond to the caller method and the callee methods. However, it is not always apparent what the most important features are for this problem or the relative importance of these features. Compiler writers developing inlining heuristics may exclude critical information that can be obtained during each inlining decision. In this paper, we use a machine learning technique, namely neuro-evolution [18], to automatically induce effective inlining heuristics from a set of features deemed to be useful for inlining. Our learning technique is able to induce novel heuristics that significantly out-perform manually-constructed inlining heuristics. We evaluate the heuristic constructed by our neuro-evolutionary technique within the highly tuned Java HotSpot server compiler and the Maxine VM C1X compiler, and we are able to obtain speedups of up to 89% and 114%, respectively. In addition, we obtain an average speedup of almost 9% and 11% for the Java HotSpot VM and Maxine VM, respectively. However, the output of neuro-evolution, a neural network, is not human readable. We show how to construct more concise and readable heuristics in the form of decision trees that perform as well as our neuro-evolutionary approach.
引用
收藏
页码:280 / 291
页数:12
相关论文
共 50 条
  • [41] Automatic Anthropometric System Development Using Machine Learning
    Long The Nguyen
    Huong Thu Nguyen
    [J]. BRAIN-BROAD RESEARCH IN ARTIFICIAL INTELLIGENCE AND NEUROSCIENCE, 2016, 7 (03): : 5 - 15
  • [42] Automatic Document Retrieval Using SVM Machine Learning
    Gopal, Sunita
    Raghav, S.
    [J]. PROCEEDINGS OF THE 2017 INTERNATIONAL CONFERENCE ON SMART TECHNOLOGIES FOR SMART NATION (SMARTTECHCON), 2017, : 896 - 901
  • [43] Automatic text summarization using a machine learning approach
    Neto, JL
    Freitas, AA
    Kaestner, CAA
    [J]. ADVANCES IN ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2002, 2507 : 205 - 215
  • [44] IoT DDoS Traffic Detection Using Adaptive Heuristics Assisted With Machine Learning
    Al Rahbani, Rani
    Khalife, Jawad
    [J]. 2022 10TH INTERNATIONAL SYMPOSIUM ON DIGITAL FORENSICS AND SECURITY (ISDFS), 2022,
  • [45] Automatic Detection and Correction of Vulnerabilities using Machine Learning
    Tommy, Robin
    Sundeep, Gullapudi
    Jose, Hima
    [J]. 2017 INTERNATIONAL CONFERENCE ON CURRENT TRENDS IN COMPUTER, ELECTRICAL, ELECTRONICS AND COMMUNICATION (CTCEEC), 2017, : 1062 - 1065
  • [46] Automatic classification of object code using machine learning
    Clemens, John
    [J]. DIGITAL INVESTIGATION, 2015, 14 : S156 - S162
  • [47] Automatic Classification of Vulnerabilities using Deep Learning and Machine Learning Algorithms
    Ramesh, Vishnu
    Abraham, Sara
    Vinod, P.
    Mohamed, Isham
    Visaggio, Corrado A.
    Laudanna, Sonia
    [J]. 2021 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2021,
  • [48] Machine Learning Approaches to Learning Heuristics for Combinatorial Optimization Problems
    Mirshekarian, Sadegh
    Sormaz, Dusan
    [J]. 28TH INTERNATIONAL CONFERENCE ON FLEXIBLE AUTOMATION AND INTELLIGENT MANUFACTURING (FAIM2018): GLOBAL INTEGRATION OF INTELLIGENT MANUFACTURING AND SMART INDUSTRY FOR GOOD OF HUMANITY, 2018, 17 : 102 - 109
  • [49] Machine Learning for Automatic Construction of Pediatric Abdominal Phantoms for Radiation Dose Reconstruction
    Virgolin, Marco
    Wang, Ziyuan
    Alderliesten, Tanja
    Bosman, Peter A. N.
    [J]. MEDICAL IMAGING 2020: IMAGING INFORMATICS FOR HEALTHCARE, RESEARCH, AND APPLICATIONS, 2020, 11318
  • [50] A novel automatic two-stage locally regularized classifier construction method using the extreme learning machine
    Du, Dajun
    Li, Kang
    Irwin, George W.
    Deng, Jing
    [J]. NEUROCOMPUTING, 2013, 102 : 10 - 22