java programming, based on the Object-Oriented (OO) paradigm, has played a major role in program design and implementation due to the fact that it is extensible, maintainable, and reusable in software system construct...
详细信息
java programming, based on the Object-Oriented (OO) paradigm, has played a major role in program design and implementation due to the fact that it is extensible, maintainable, and reusable in software system construction. Experiences with using java programming have indicated that there also exist disadvantages with respect to its execution inefficiency and complicated runtime behaviors. Code-patterns are statically recurring structures specifically related to a programming language. They can be used in parallel to help programmer design software systems to solve particular problems. In opposition to the role of code-patterns in assisting compilation, control-pattems are dynamically recurring structures invoked during program execution time. They can be used to understand the run-time behaviors of OO-programs with respect to the underlying architecture, such as java-vm. A control pattern describes the model of control transfer among objects during OO program execution. In this paper, several control patterns are proposed and discussed. We have analyzed and collected several control patterns from several java program corpora. The experimental results show that control patterns do exist and provide information for quantitative analysis. Simple patterns, compound patterns, and complex patterns have different ratios depending on their source programs. Collected control patterns can be used to provide guidelines for java programmers so that they can write more effective java programs.
Virtual machines (vms) facilitate the deployment of applications in heterogeneous environments. Popular vms such as Sun Microsystem's java vm or Microsoft's Common Language Runtime (CLR) use a stackbased machi...
详细信息
Virtual machines (vms) facilitate the deployment of applications in heterogeneous environments. Popular vms such as Sun Microsystem's java vm or Microsoft's Common Language Runtime (CLR) use a stackbased machine architecture to execute bytecode instructions. The focus of this paper is to explore the ability of XML to serve as a generic framework to represent bytecode instructions from different vms. With an XML representation, supporting technologies such as XSL stylesheets and XPath expressions can be used to provide various transformations of bytecode instructions. We demonstrate the flexibility and power of this approach by showing examples of cross-compilation for various CLR bytecode instructions to the Jvm as well as API mappings of the underlying runtime libraries.
During a decade, we already experienced the wide spreading of mobile devices such as a mobile phone. Hardware performance is dramatically improved and mass production is enabled To execute various applications, there ...
详细信息
ISBN:
(纸本)9788955191387
During a decade, we already experienced the wide spreading of mobile devices such as a mobile phone. Hardware performance is dramatically improved and mass production is enabled To execute various applications, there are already various mobile virtual machines in the mobile phone software. However, due to the restrictions of mobile device and commercial reasons, most handset includes single application execution platform. Therefore, users cannot run any applications which are implemented in the different platform. To ensure reusability of applications and reduction costs for development to the handset users and application developers, we designed L4 microkernel based lightweight mobile middleware which can run multiple application execution platform in single device. In this paper, we will design a general purpose hardware abstraction layer, a detailed part of our proposed design of mobile middleware. Because of it contain commonly usable functions for the multiple virtual machines, we expect that it can reduce porting effort of virtual machines and also offers efficient execution environment in the mobile devices.
暂无评论