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 条
  • [1] A machine learning approach to automatic production of compiler heuristics
    Monsifrot, A
    Bodin, F
    Quiniou, R
    [J]. ARTIFICIAL INTELLIGENCE: METHODOLOGY, SYSTEMS AND APPLICATIONS, PROCEEDINGS, 2002, 2443 : 41 - 50
  • [2] Automatic construction of reactive control systems using symbolic machine learning
    Sammut, C
    [J]. KNOWLEDGE ENGINEERING REVIEW, 1996, 11 (01): : 27 - 42
  • [3] ASSESSING DECISION HEURISTICS USING MACHINE LEARNING
    LEWIS, M
    [J]. DECISION SUPPORT SYSTEMS, 1993, 10 (02) : 199 - 212
  • [4] Heuristics Prediction of Olympic Medals using Machine Learning
    Thirumalai, Chandrasegar
    Monica, S.
    Vijayalakshmi, A.
    [J]. 2017 INTERNATIONAL CONFERENCE OF ELECTRONICS, COMMUNICATION AND AEROSPACE TECHNOLOGY (ICECA), VOL 2, 2017, : 594 - 597
  • [5] A Machine Learning Approach to Automatic Creation of Architecture-sensitive Performance Heuristics
    Saha, Biplab Kumar
    Connors, Tiffany A.
    Rahman, Saami
    Qasem, Apan
    [J]. 2017 19TH IEEE INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS (HPCC) / 2017 15TH IEEE INTERNATIONAL CONFERENCE ON SMART CITY (SMARTCITY) / 2017 3RD IEEE INTERNATIONAL CONFERENCE ON DATA SCIENCE AND SYSTEMS (DSS), 2017, : 18 - 25
  • [6] Feature Selection for Ranking using Heuristics based Learning to Rank using Machine Learning
    Chavhan, Sushilkumar
    Dharmik, R. C.
    [J]. INTERNATIONAL JOURNAL OF NEXT-GENERATION COMPUTING, 2022, 13 (05): : 976 - 983
  • [7] Automatic Protocol Feature Word Construction Based on Machine Learning
    Li, Haifeng
    Zhang, Bin
    Shuai, Bo
    Wang, Jian
    Tang, Chaojing
    [J]. PROCEEDINGS OF 2015 IEEE INTERNATIONAL CONFERENCE ON PROGRESS IN INFORMATCS AND COMPUTING (IEEE PIC), 2015, : 93 - 97
  • [8] AUTOMATIC THESAURUS CONSTRUCTION BY MACHINE LEARNING FROM RETRIEVAL SESSIONS
    GUNTZER, U
    JUTTNER, G
    SEEGMULLER, G
    SARRE, F
    [J]. INFORMATION PROCESSING & MANAGEMENT, 1989, 25 (03) : 265 - 273
  • [9] Active Machine Learning for Consideration Heuristics
    Dzyabura, Daria
    Hauser, John R.
    [J]. MARKETING SCIENCE, 2011, 30 (05) : 801 - 819
  • [10] Automatic flow classification using machine learning
    Anantavrasilp, Isara
    Schoeler, Thorsten
    [J]. SOFTCOM 2007: 15TH INTERNATIONAL CONFERENCE ON SOFTWARE, TELECOMMUNICATIONS AND COMPUTER NETWORKS, 2007, : 390 - +