Fine-Tuning and Performance Analysis of Embedded Java Environment
- Author
- HeWei
- Advisor
- ChenYing
- School
- Shanghai Jiaotong University
- Major
- Computer Software and Theory
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 170
- Citations
- 1
Abstract
With the widespread use of digital products such as mobile phone, PDA, embedded Java runtime platform provides cross-platform software support is also growing more and more user acceptance and the industry's favor. But embedded Java technology is still in the middle stage of development, coupled with restrictions on the hardware resources of embedded platform, has been in a low-speed development stage prior to optimization of embedded Java Runtime Environment, is far from the Standard Edition and Enterprise Edition Java technology as thorough. Enhance the performance of the embedded device hardware in recent years, making the early development of embedded Java Runtime Environment has not fully play the computing power of the underlying hardware, at the same time, more storage space and higher processor clock frequency to further optimize embedded Java runtime environment provides an opportunity. Optimization of embedded Java runtime environment has both theoretical significance of program optimization also has a practical application value. Quantitative analysis from the Java program running starting, find the the existing interpreted Java Virtual Machine performance bottleneck, determined using them to optimize the based hotspot detection dynamic compilation method. According to the conclusions of the analysis, the average number of executions as a program to select a unit of instruction quantitative criteria of \and achieve set embedded Java runtime environment based on the ARM architecture optimization solutions. Specifically, the main contribution of this paper is to: 1: quantitative analysis of the interpretation and implementation of the Java Virtual Machine performance bottlenecks and to draw key heuristic information to improve its performance - the average number of executions of the \measure of the strength of detection procedures hotspots in runtime dynamically translates Java instructions to native instructions. 2: a complete set of the ARM architecture-based embedded environment Java virtual machine optimized design of the program, including the overall framework of the structure and design of the functional components. 3: new technology for automatic identification of the Java bytecode analysis program generator (Parser Generator), and take full advantage of the former acquired in the field of automatic language identification results, significantly improved dynamic compiler as an optimization core readability and maintainability, reduced development intensity.
Table of contents
Abstract 3-5
ABSTRACT (English summary) 5-10
main symbol table 10-11
first chapter 11-16
1.1 project background 11
1.2 existing optimization methods 11-14
1.2.1 speed optimization 11-13
1.2.1.1 interpreter overall optimization 12
1.2.1.2 pre-optimized (Ahead-Of-Time) 12
1.2.1.3 JIT compiler JIT (Just- In-Time) 12
1.2.1.4 hot technology HotSpot 12-13
1.2.1.5 Static locally compiled 13
1.2.1.6 Hardware Implementation 13
1.2.2 overhead optimization 13-14
1.2.2.1 garbage collection improvements 13-14
1.2.2.2 code compression 14
1.2.2.3 code unloading 14
1.3 thesis work and structural 14-16
1.3.1 The main thesis work 14-15
1.3.2 paper structure 15-16
Chapter basics 16-26
2.1 Java Virtual Machine 16-23
2.1.1 Java program execution 16-17
2.1.1.1 virtual machine starts 16
2.1.1.2 class loading 16
2.1.1.3 Connections: verification, preparation and analytical 16
2.1.1.4 Initialization 16-17
2.1.1.5 class instance creation 17
2.1.1.6 VM exit 17
2.1.2 Java Virtual Machine structure 17-19
2.1.2.1 Java class file format 17
2.1 .2.2 the runtime data area 17-19
2.1.2.3 run-time stack frame (Frames) 19
2.1.3 Java instruction set 19-23
2.1.3.1 load and store instructions 20-21
2.1.3.2 arithmetic instructions 21
2.1.3.3 Type Conversion Instructions 21
2.1 .3.4 object creation, operation instruction 21-22
2.1.3.5 operand stack management commands 22
2.1.3.6 control transfer instruction 22
2.1.3.7 method call and return instructions 22-23
2.2 ARM embedded platform 23-26
2.2.1 Basic Features 23
2.2 .2 programming model 23-24
2.2.3 Data Types 24
2.2.4 program flow control 24-26
The third chapter analyzes and design 26-42
3.1 Problem Analysis 26-29
3.1.1 key contradiction 26-27
3.1.2 Source of performance 27-29
3.2 quantitative relationship 29-30
3.3 optimization ideas 30-33
3.3.1 abandoned \\; 33-35
3.6 The system design 35-42
3.6.1 optimization 35-36
3.6.2 system framework 36
3.6.3 Java operand stack registers mapped 36-37
3.6.4 Dynamic compilation core design 37-41
3.6.4.1 Java byte The identification code is automatically generated 38-39
3.6.4.2 native code generation 39-40
3.6.4.3 code dynamically allocated storage space 40 -41
3.6.5 code unloader design 41-42
Chapter IV Implementation and Validation 42-57
4.1 development environment 42 -44
4.1.1 Development Platform 42
4.1.2 target platform 42
4.1.3 cross compiler 42-43 <br / > 4.1.4 builder 43
4.1.5 debugger 43-44
4.1.6 version control 44
4.2 dynamic compilation to achieve 44-49
4.2.1 parser generator Bison 44-45
4.2.2 bytecode identification 45-46
4.2.3 GCC inline assembly 46-47
4.2.4 code generation and copy 47-48
4.2.5 native code relocatable 48-49 <br / > 4.3 hotspot detection achieved 49-50
4.3.1 hotspot measure 49-50
4.3.2 hotspot granularity 50
4.3. 3 hot threshold 50
4.4 code is deployed to achieve 50-52
4.5 code offloads 52-53
4.6 validate experimental methods 53-54
4.7 Authentication Platform 54-55
4.8 Experimental 55-57
chapter conclusions 57-59 <br / > 5.1 Summary 57-58
5.2 Prospects 58-59
References 59-63
Thanks 63-64 < br /> During the research experience and a master's degree papers published 64-67
Related dissertations
- Effects of the Multi-National Corporation to China embedded industrial agglomeration
- The Remote Wireless Control System Based on ARM Processor
- The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
- Engine Room Monitoring System Based on the Embedded Web Server
- Rearch on Intelligent Monitoring Technology That Access to Internet
- Design of Indoor Environmental Quality Monitoring System Based on ARM
- Design of Industrial Equipment State Wireless Monitoring System Based on STM32
- Design and Implementation of Intelligent Network Dome Based on DaVinci Technology
- The Design and Realization of Internet Public Opinion System
- 3G Agricultural Experiment Station of intelligent design and development of remote monitoring system based on
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Design and Realization of Farm Machinery Working State Real Time Wireless Monitoring System
- Design of Farmland Environment Remote Monitoring System Based on ZigBee Network
- Design and Implementation of Video Capture System Based on Embedded Technology
- Research of Surface Roughness Network Data Collector System Based on ARM
- The Design and Implementation of Gateway and Client of Embedded Smart Home System
- The Embedded Industrial Control Module Based on iCAN Protocol
- A Design of Embedded Motion Controller for4-axis Industrial Robot
- Study on Function Modules of the Mobile Robots in Sudden Accident