Aiming at the characteristic of the dependency between the application components and the application server platform, a rejuvenation strategy with two different levels of rejuvenation granularities is put forward in ...Aiming at the characteristic of the dependency between the application components and the application server platform, a rejuvenation strategy with two different levels of rejuvenation granularities is put forward in this paper including the application component reiuvenation and the application server system rejuvenation. The availability and maintenance cost functions are obtained by means of establishing the application server aging model and the boundary condition of the optimal rejuvenation time is analyzed. Theory analysis indicates that the two-level rejuvenation strategy is superior to the traditional single level one. Finally, evaluation experiments are carried out and numerical result shows that compared with the traditional rejuvenation policy, the rejuvenation strategy proposed in this paper can further increase availability of the application server and reduce maintenance cost.展开更多
There exists a consensus that software architecture(SA)plays a central role in software development and also plays an important role in the lifecycle phases after software delivery.Particularly,SA can be used to reduc...There exists a consensus that software architecture(SA)plays a central role in software development and also plays an important role in the lifecycle phases after software delivery.Particularly,SA can be used to reduce the great difficulty and cost of software maintenance and evolution.In this paper,runtime software architecture(RSA)based on reflective middleware is proposed to support architecture-based software maintenance and evolution.In this approach,the actual states and behaviors of the runtime system can be observed and manipulated in a consistent and understandable way through its architectural view.Being an accurate,up-to-date,semantic and operable view of SA,RSA looks components and connectors as white-box entities to accurately and thoroughly describe the runtime system,extends traditional architecture description languages to formally describe itself and naturally inherit plentiful semantics in traditional views of SA,and utilizes reflective middleware to observe and manipulate the runtime system.In order to demonstrate the feasibility of this approach,a reflective J2EE application server,called PKUAS,is implemented to observe and manipulate the components,connectors and constraints in the runtime system.Finally,the performance evaluation proves that making RSA explicit and operable at runtime has little effect on the runtime system.展开更多
Understanding control flows in a computer program is essential for many software engineering tasks such as testing, debugging, reverse engineering, and maintenance. In this paper ,we present a control flow analysis te...Understanding control flows in a computer program is essential for many software engineering tasks such as testing, debugging, reverse engineering, and maintenance. In this paper ,we present a control flow analysis technique to analyze the control flow in Java bytecode. To perform the analysis, we construct a control flow graph(CFG) for Java bytecode not only at the intraprocedural level but also at the interprocedural level. We also discuss some applications of a CFG in a maintenance environment for Java bytecode.展开更多
基金Supported by the National Natural Foundation ofChina (60473098) IBMChina Research Lab Joint Project
文摘Aiming at the characteristic of the dependency between the application components and the application server platform, a rejuvenation strategy with two different levels of rejuvenation granularities is put forward in this paper including the application component reiuvenation and the application server system rejuvenation. The availability and maintenance cost functions are obtained by means of establishing the application server aging model and the boundary condition of the optimal rejuvenation time is analyzed. Theory analysis indicates that the two-level rejuvenation strategy is superior to the traditional single level one. Finally, evaluation experiments are carried out and numerical result shows that compared with the traditional rejuvenation policy, the rejuvenation strategy proposed in this paper can further increase availability of the application server and reduce maintenance cost.
基金sponsored by the National Grand Fundamental Research 973 Program of China(Grant No.2002CB31200003)the National Natural Science Foundation of China(Grant Nos.60233010.60125206)+1 种基金the National High-Tech Research and Development Pian of China(Grant No.2001 AA113060)the Key Grant Project of Science and Technology Research of Ministry of Education of China(Grant No.0214).the IBM Joint Study.
文摘There exists a consensus that software architecture(SA)plays a central role in software development and also plays an important role in the lifecycle phases after software delivery.Particularly,SA can be used to reduce the great difficulty and cost of software maintenance and evolution.In this paper,runtime software architecture(RSA)based on reflective middleware is proposed to support architecture-based software maintenance and evolution.In this approach,the actual states and behaviors of the runtime system can be observed and manipulated in a consistent and understandable way through its architectural view.Being an accurate,up-to-date,semantic and operable view of SA,RSA looks components and connectors as white-box entities to accurately and thoroughly describe the runtime system,extends traditional architecture description languages to formally describe itself and naturally inherit plentiful semantics in traditional views of SA,and utilizes reflective middleware to observe and manipulate the runtime system.In order to demonstrate the feasibility of this approach,a reflective J2EE application server,called PKUAS,is implemented to observe and manipulate the components,connectors and constraints in the runtime system.Finally,the performance evaluation proves that making RSA explicit and operable at runtime has little effect on the runtime system.
文摘Understanding control flows in a computer program is essential for many software engineering tasks such as testing, debugging, reverse engineering, and maintenance. In this paper ,we present a control flow analysis technique to analyze the control flow in Java bytecode. To perform the analysis, we construct a control flow graph(CFG) for Java bytecode not only at the intraprocedural level but also at the interprocedural level. We also discuss some applications of a CFG in a maintenance environment for Java bytecode.