作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (2): 69-71. doi: 10.3969/j.issn.1000-3428.2008.02.023

• 软件技术与数据库 • 上一篇    下一篇

一种Java字节码优化框架

张 昱,刘玉宇   

  1. (中国科学技术大学计算机科学技术系,合肥 230027)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-01-20 发布日期:2008-01-20

Java Bytecode Optimization Framework

ZHANG Yu, LIU Yu-yu   

  1. (Department of Computer Science, University of Science & Technology of China, Hefei 230027)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-01-20 Published:2008-01-20

摘要: Soot是一种用于优化、审查Java字节码的独立工具,也是一个在字节码上开发优化和变换的框架。为指导用户在Soot上快速开展工作,该文总结Soot的主要数据结构、流程及优化框架的组织管理,并通过实例剖析Soot的工作流程和实现机制,简述了Soot的扩展方法及已有应用。

关键词: 优化, 包装, 变换器

Abstract: Soot can be used as an independent tool to optimize or inspect Java bytecode, as well as a framework to develop optimizations or transformations on bytecode. In order to guide users to work with Soot fleetly, the main data structures and flow of Soot and the methodologies of the optimization framework are summed up. An example is given to anatomize the implementation mechanisms of Soot. Extension steps of Soot and related application are stated.

Key words: optimization, pack, transformer

中图分类号: