ACM SIGPLAN Notices · 2005 · 19 citations · 11 references
ComputingComputer EngineeringComputer ScienceCompilersProgramming LanguagesSoftware EngineeringApplication Programming InterfacesBehavioral AnalysisControl-flow AnalysisQuery ProcessingStructured Query LanguageAutomatic InstrumentationExecution Trace AnalysisProfilingProgram InstrumentationProgram Trace AnalysisRuntime ProfilingTrace InstrumentationTrace Querying
Instrumenting programs with code to monitor runtime behavior is a common technique for profiling and debugging. In practice, instrumentation is either inserted manually by programmers, or automatically by specialized tools that monitor particular properties. We propose Program Trace Query Language (PTQL), a language based on relational queries over program traces, in which programmers can write expressive, declarative queries about program behavior. We also describe our compiler, Partiqle . Given a PTQL query and a Java program, Partiqle instruments the program to execute the query on-line. We apply several PTQL queries to a set of benchmark programs, including the Apache Tomcat Web server. Our queries reveal significant performance bugs in the jack SpecJVM98 benchmark, in Tomcat, and in the IBM Java class library, as well as some correct though uncomfortably subtle code in the Xerces XML parser. We present performance measurements demonstrating that our prototype system has usable performance.
11
Scalable statistical bug isolation
Ben Liblit, Mayur Naik, Alice X. Zheng et al. · 2005 · 469 citations
Adding trace matching with free variables to AspectJ
Chris Allan, Pavel Avgustinov, Aske Simon Christensen et al. · 2005 · 427 citations
Computing, Computer Science, History +13
Bug isolation via remote program sampling
Ben Liblit, Alex Aiken, Alice X. Zheng et al. · 2003 · 240 citations