Spencer:面向大众的交互式堆分析
Spencer: Interactive Heap Analysis for the Masses
摘要:
程序设计语言-设计和运行时-实现需要关于用户想要实现的程序的详细知识。获取这些知识是困难的,并且几乎没有工具支持来有效地估计所提出的权衡在现实世界应用程序的上下文中是否实际上有意义。理想情况下,关于“典型”程序行为的知识是1)容易获得的,2)容易复制的,以及3)容易共享的。我们提出了斯宾塞,一个Web服务和API框架的动态分析的一组不断增长的标准程序语料库的痕迹。用户不能自己获取跟踪,而是可以向Web服务发送查询,这些查询将在一组程序跟踪上执行。查询组合符是一组查询组合符的内置的项,它们提供了一个用于处理跟踪数据的高级接口。由于框架是高级的,并且有一个托管的记录跟踪集合,因此查询很容易实现。由于数据集由研究界共享,因此结果是可重复的。由于实际的查询运行在一个(或多个)提供分析服务的服务器上,因此可以在商用硬件上获得结果。Spencer中的数据意味着只获取一次,并经常进行分析,这使得数据汇集的开销几乎无关紧要。这使得Spencer能够收集比传统跟踪工具在其性能预算范围内所能提供的更多的数据。Spencer中的结果被缓存,使得基于缓存的原语查询的复杂分析变得更快。
英文摘要:
Programming language-design and run-time-implementation require detailed knowledge about the programs that users want to implement. Acquiring this knowledge is hard, and there is little tool support to effectively estimate whether a proposed tradeoff actually makes sense in the context of real world applications. Ideally, knowledge about behaviour of "typical" programs is 1) easily obtainable, 2) easily reproducible, and 3) easily sharable. We present Spencer, a web service and API framework for dynamic analysis of a continuously growing set of traces of standard program corpora. Users do not obtain traces on their own, but can instead send queries to the web service that will be executed on a set of program traces. Queries are built in terms of a set of query combinators that present a high level interface for working with trace data. Since the framework is high level, and there is a hosted collection of recorded traces, queries are easy to implement. Since the data sets are shared by the research community, results are reproducible. Since the actual queries run on one (or many) servers that provide analysis as a service, obtaining results is possible on commodity hardware. Data in Spencer is meant to be obtained once, and analysed often, making the overhead of data collection mostly irrelevant. This allows Spencer to collect more data than traditional tracing tools can afford within their performance budget. Results in Spencer are cached, making complicated analyses that build on cached primitive queries speedy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。