首页> 外文会议>European Conference on Object-Oriented Programming >Customization of Java Library Classes Using Type Constraints and Profile Information
【24h】

Customization of Java Library Classes Using Type Constraints and Profile Information

机译:使用类型约束和配置文件信息自定义Java Library类

获取原文

摘要

The use of class libraries increases programmer productivity by allowing programmers to focus on the functionality unique to their application. However, library classes are generally designed with some typical usage pattern in mind, and performance may be suboptimal if the actual usage differs. We present an approach for rewriting applications to use customized versions of library classes that are generated using a combination of static analysis and profile information. Type constraints are used to determine where customized classes may be used, and profile information is used to determine where customization is likely to be profitable. We applied this approach to a number of Java applications by customizing various standard container classes and the omnipresent StringBuffer class, and measured speedups up to 78% and memory footprint reductions up to 46%. The increase in application size due to the added custom classes is limited to 12% for all but the smallest programs.
机译:类库的使用通过允许程序员专注于其应用程序独有的功能来提高程序员生产力。然而,如果实际使用情况不同,库类通常以一些典型的使用模式设计有一些典型的使用模式,并且性能可能是次优。我们提出了一种方法来重写应用程序以使用使用静态分析和配置文件信息的组合生成的库类的自定义版本。类型约束用于确定可以使用自定义类的位置,并且简档信息用于确定自定义可能是有利可图的位置。我们通过自定义各种标准容器类和全部标准系列级别的多个Java应用程序将这种方法应用于许多Java应用程序,并测量了高达78%和内存占用额度的加速度高达46%。由于所添加的自定义类引起的应用程序大小的增加限于所有但最小的程序的12%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号