{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,14]],"date-time":"2026-11-14T22:04:33Z","timestamp":1794693873288,"version":"4.9.1"},"reference-count":30,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA2","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2025,10,9]]},"abstract":"<jats:p>Optimizing performance on top of modern runtime systems with just-in-time (JIT) compilation is a challenge for a wide range of applications from browser-based applications on mobile devices to large-scale server applications. Developers often rely on sampling-based profilers to understand where their code spends its time. Unfortunately, sampling of JIT-compiled programs can give inaccurate and sometimes unreliable results.<\/jats:p>\n                  <jats:p>To assess accuracy of such profilers, we would ideally want to compare their results to a known ground truth. With the complexity of today's software and hardware stacks, such ground truth is unfortunately not available. Instead, we propose a novel technique to approximate a ground truth by accurately slowing down a Java program at the machine-code level, preserving its optimization and compilation decisions as well as its execution behavior on modern CPUs.<\/jats:p>\n                  <jats:p>Our experiments demonstrate that we can slow down benchmarks by a specific amount, which is a challenge because of the optimizations in modern CPUs, and we verified with hardware profiling that on a basic-block level, the slowdown is accurate for blocks that dominate the execution. With the benchmarks slowed down to specific speeds, we confirmed that Async-profiler, JFR, JProfiler, and YourKit maintain original performance behavior and assign the same percentage of run time to methods. Additionally, we identify cases of inaccuracy caused by missing debug information, which prevents the correct identification of the relevant source code. Finally, we tested the accuracy of sampling profilers by approximating the ground truth by the slowing down of specific basic blocks and found large differences in accuracy between the profilers.<\/jats:p>\n                  <jats:p>We believe, our slowdown-based approach is the first practical methodology to assess the accuracy of sampling profilers for JIT-compiling systems and will enable further work to improve the accuracy of profilers.<\/jats:p>","DOI":"10.1145\/3763180","type":"journal-article","created":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T08:49:50Z","timestamp":1759999790000},"page":"3615-3641","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":5,"title":["Divining Profiler Accuracy: An Approach to Approximate Profiler Accuracy through Machine Code-Level Slowdown"],"prefix":"10.1145","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-4728-5819","authenticated-orcid":false,"given":"Humphrey","family":"Burchell","sequence":"first","affiliation":[{"name":"University of Kent, Canterbury, United Kingdom"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9059-5180","authenticated-orcid":false,"given":"Stefan","family":"Marr","sequence":"additional","affiliation":[{"name":"University of Kent, Canterbury, United Kingdom"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,10,9]]},"reference":[{"key":"e_1_3_2_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/3524059.3532396"},{"key":"e_1_3_2_3_1","doi-asserted-by":"publisher","DOI":"10.5555\/974974"},{"key":"e_1_3_2_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/3575693.3575720"},{"key":"e_1_3_2_5_1","first-page":"237","volume-title":"Performance Analysis and Tuning on Modern CPUs, Second Edition","author":"Bakhvalov Denis","year":"2024","unstructured":"Denis Bakhvalov. 2024. Performance Analysis and Tuning on Modern CPUs, Second Edition. Independently published, 237 pages."},{"key":"e_1_3_2_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3133876"},{"key":"e_1_3_2_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/3591473"},{"key":"e_1_3_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/3669940.3707217"},{"key":"e_1_3_2_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/3617651.3622985"},{"key":"e_1_3_2_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/3679007.3685058"},{"key":"e_1_3_2_11_1","doi-asserted-by":"publisher","unstructured":"Humphrey Burchell and Stefan Marr. 2025a. Divining Profiler Accuracy: An Approach to Approximate Profiler Accuracy Through Machine Code-Level Slowdown (Artifact). doi:10.5281\/zenodo.16911348","DOI":"10.5281\/zenodo.16911348"},{"key":"e_1_3_2_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3759548.3763374"},{"key":"e_1_3_2_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/202529.202534"},{"key":"e_1_3_2_14_1","doi-asserted-by":"publisher","DOI":"10.1109\/MM.2021.3112026"},{"key":"e_1_3_2_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/2815400.2815409"},{"key":"e_1_3_2_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/2542142.2542143"},{"key":"e_1_3_2_17_1","doi-asserted-by":"publisher","DOI":"10.4230\/LIPICS.ECOOP.2025.9"},{"key":"e_1_3_2_18_1","unstructured":"Agner Fog. 2022. Instruction tables: Lists of instruction latencies throughputs and micro-operation breakdowns for Intel AMD and VIA CPUs. Technical Report. https:\/\/www.agner.org\/optimize\/instruction_tables.pdf"},{"key":"e_1_3_2_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/3466752.3480058"},{"key":"e_1_3_2_20_1","volume-title":"Systems Performance: Enterprise and the Cloud.","author":"Gregg Brendan","year":"2013","unstructured":"Brendan Gregg. 2013. Systems Performance: Enterprise and the Cloud. Prentice Hall, Upper Saddle River, NJ."},{"key":"e_1_3_2_21_1","volume-title":"Computer Architecture: A Quantitative Approach","author":"Hennessy John L.","year":"2017","unstructured":"John L. Hennessy and David A. Patterson. 2017. Computer Architecture: A Quantitative Approach (6th ed.). Morgan Kaufmann. 936 pages."},{"key":"e_1_3_2_22_1","unstructured":"Intel. 2016. Intel\u00ae 64 and IA-32 Architectures Software Developer\u2019s Manual: Volume 2C Instruction Set Reference V-Z. Intel. https:\/\/www.intel.com\/content\/dam\/www\/public\/us\/en\/documents\/manuals\/64-ia-32-architectures-software-developer-vol-2c-manual.pdf"},{"key":"e_1_3_2_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/3689492.3690047"},{"key":"e_1_3_2_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/1639950.1640000"},{"key":"e_1_3_2_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/2989225.2989232"},{"key":"e_1_3_2_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/1806596.1806618"},{"key":"e_1_3_2_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3314221.3314637"},{"key":"e_1_3_2_28_1","first-page":"642","volume-title":"Modern Processor Design: Fundamentals of Superscalar Processors.","author":"Shen John Paul","year":"2005","unstructured":"John Paul Shen and Mikko H. Lipasti. 2005. Modern Processor Design: Fundamentals of Superscalar Processors. Waveland Press. 642 pages."},{"key":"e_1_3_2_29_1","doi-asserted-by":"publisher","DOI":"10.1147\/rd.111.0025"},{"key":"e_1_3_2_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3330345.3330371"},{"key":"e_1_3_2_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2814270.2814281"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3763180","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T10:05:43Z","timestamp":1784196343000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3763180"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,9]]},"references-count":30,"journal-issue":{"issue":"OOPSLA2","published-print":{"date-parts":[[2025,10,9]]}},"alternative-id":["10.1145\/3763180"],"URL":"https:\/\/doi.org\/10.1145\/3763180","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,9]]},"assertion":[{"value":"2025-03-26","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-08-12","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-10-09","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}