基于AOP的Java程序性能跟踪系统的设计与实现
esign and Implementation of Java Program's Performance Tracking System Based on AOP
Java语言的免费、跨平台、开发效率高等特点,使得Java语言已经广泛应用到软件开发的各个领域,但是Java软件体系结构决定了Java的执行效率低,这成为了制约Java语言进一步发展的最重要原因。因此,对Java程序进行性能优化是十分必要的。对程序的性能改善是依赖于运行时性能数据的,没有可靠的数据基础而更改应用或环境会导致更差的结果。本文提出了Java程序性能跟踪系统的设计与实现,可以对Java运行时的数据进行实时的采集,提供细粒度的性能分析。本文还采用了AOP (Aspect-Oriented Programming)的编程方式,将性能跟踪功能从主要业务功能代码中剥离出来,提高系统的可维护性与可扩展性。
he Java language's advantages, free、cross-platform、high efficient development、 make it has been widely useed in all areas of software development. However, Java's system structure determines its low operation efficiency, which limits further expansion of Java. Therefore, it is necessary to optimize Java program's performance. To improve the performance of the program, it depends on the runtime performance data. Without reliable data, if we change the application or environment, it can cause worse results. This paper describes the design and implementation of Java performance tracking system, which can collect Java runtime data, for fine-grained analysis of performance. Meanwhile, in order to reduce code coupling and improve maintainability and scalability, this paper uses AOP (Aspect-Oriented Programming) to strip the tracking functions off the main business functions.
李炜、陈琪、王晶
计算技术、计算机技术
计算机软件与理论OP性能跟踪Java程序
omputer Software and TheoryAOPperformance trackingJava program
李炜,陈琪,王晶.基于AOP的Java程序性能跟踪系统的设计与实现[EB/OL].(2011-12-23)[2025-08-16].http://www.paper.edu.cn/releasepaper/content/201112-621.点此复制
评论