Research on Optimizing Memory Management of Java Operating System
- Author
- ZhouXu
- Advisor
- LuKai
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP316.8 Network operating system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 25
- Citations
- 0
- JavaOS
- Memory Management
- Garbage collection
- FLSP
- JUnicorn
- Multi-task
- IPC
- MSP
- exchange heap
- virtual address hole
Abstract
Memory Management is one of the most important techniques in Java Operating System. It will greatly improve JavaOS’applying in embedded systems if Memory Management is optimized. Currently the memory management of JavaOSes has three major problems: without using system privileged operations to improve Garbage Collection; being unsuitable for multi-task environment; Inter-Process Communication’affecting on GC. These problems cause the low performance and lacking of security of JavaOSes. It in turn affects their applying in interactive realm and other realms. In order to solve these problems, based on traditional GC algorithms, this paper redesign and optimize memory management from three aspects: operating system privilege oriented; multi-task environment oriented and IPC oriented. These design and optimizations are implemented in the memory management of JUnicorn which is our JavaOS prototype.Firstly this paper studies the advantages brought by system privilege to GC. Using dirty page information to optimize Generational GC algorithm is carefully analyzed. Based on the analysis, this paper design and implements FLSP which is a high performance system-level GC algorithm. Testing result shows FLSP can improve system performance by 13% and reduce 50% of GC time. We also discover other two system level privileged operation, analyzing their characteristic and application. Then this paper designs a Task-Independent Global GC Strategy for multi-task environment. We present methods to dynamically calculate GC time and GC task. This strategy can hide GC delay by making use of task scheduling. Finally, to addressing the security and GC problems caused by sharing IPC, this paper designs a safe and effective IPC mechanism MSP, and solve the problems of collecting Exchange-Heap and virtual address hole caused by MSP. Testing results show MSP is a high security IPC mechanism, and performs especially well when passing large data objects.
Table of contents
Summary 10-11
Abstract 11-12
first chapter 12-18
1.1 Background 12-14 <br / > 1.1.1 the background 12-13
1.1.2 related research 13-14
1.2 This work 14-16
1.3 paper structure 16-18
chapter Java OS storage management Overview 18-20
2.1 storage management and garbage collection 18
2.2 storage Model 18-20
Chapter garbage collection algorithm 20-28
3.1 application-level garbage collection 20
3.2 classic garbage collection algorithm 20-22
3.2.1 reference count 20-21
3.2.2 mark - cleaning 21
3.2.3 semi- zone copy 21-22
3.3 generational garbage collection 22-25
3.3.1 algorithm Overview 22-23
3.3.2 and generational memory set inter- pointer 23-24
multiple generational 3.3.3 and upgrade strategy 24-25
3.4 incremental and concurrent garbage collection 25-26
3.5 Java OS garbage collection 26-28
Chapter IV for the super- privileged class storage optimization technology 28-39
4.1 dirty pages of information and generational garbage collection 28-29
4.2 GenMS algorithm and its problems 29-31
4.3 FLSP garbage collection algorithms 31-37
4.3.1 algorithm design and Implementation 31-34
4.3.2 performance Evaluation 34-37
4.4 other systems can take advantage of the convenience 37-39
fifth Chapter multitasking system for storage management technology 39-51
5.1 multitasking design 39-43
5.1.1 task soft isolation technology 39 - 41
5.1.2 task scheduling 41-42
5.1.3 kernel protection 42-43
5.2 multitasking environment for garbage collection policy 43-44
5.3 task independent global garbage collection policy opportunity to study 44-45
5.4 garbage collection selection policy 45-48
5.5 garbage collection task interprocess 48-51
Chapter VI -oriented storage management technology to communicate between 51-62
6.1 shared -process communication 51
6.2 communication between the MSP process 51-56
6.2.1 message passing mechanism 52-53
6.2.2 for large-size message page remapping mechanism 53 -55
6.2.3 message buffer object 55
6.2.4 IPC programming interface 55-56
6.3 supports garbage collection nbsp MSP means of communication ; 56-59
6.3.1 exchange heap of garbage collection 56-58
6.3.2 virtual address vulnerabilities 58-59
6.4 performance Evaluation 59-62
Chapter VII JUnicorn storage management prototype system 62-73
7.1 JUnicorn Introduction 62-65
7.1.1 architecture 62-63
7.1.2 dynamic compiler 63-65
7.1.3 -driven framework designed software structure 65
7.2 storage management systems and Interface 65-67
7.3 Unboxed class and Magic method garbage collection framework 67-68
7.4 dynamically configurable 68-69
7.4. a garbage collection algorithm 68-69
7.4.2 memory allocation strategy 69
7.5 memory management 69-70
7.6 memory monitoring and surveillance tasks 70-73
Chapter VIII Conclusions and future work 73-75
Thanks 75-77
References 77-80
authors during the school academic achievements 80
Related dissertations
- Research of memory management strategy for high performance IPC
- Extendable-Multi-Heap Solution for Management of Dynamic Storage System
- Development and Design of Monitoring System of Electrolyte-plasma Processing Machine
- Multi-Agent Based Crew Scheduling System Design and Implementation
- Distributed Data Management and Access Optimization Strategy of Rendering Application
- Distributed Memory File Caching System for High Performance Computing
- Asymmetric Dual-Space Collectors
- Virtual Machine Memory Management Based on Cloud Computing Environment
- Design of Phased Array Antenna Near-field Multi-task Measurement System
- Optimization Design and Implementation of the ICS Terminal
- Design and Implementation of Interrupt Processing System and Adaptive Multi-threaded Module in Matrix DSP
- Study on the Methylation of FHIT and P16Gene in the Malignant Transformation of Oral Submucous Fibrosis
- The Mutual Relationship between P27(CDK1B/KIP1)Regulation, Microsatellite Instability (MSI), CpG Island Methylator Phenotype (CIMP) and the Clinical Features of Human Sporadic Colorectal Cancer
- Study of Relationship between CHD5Methylation and Colorectal Carcinogenesis and Clinical Pathological Features
- Effects of Celecoxib on the Methylation Status,mRNA Expression of FSTL1, CDH13, TFPI2Promotor and Apoptosis in Squamous Cell Carcinoma of the Esophagus
- The Study on DNA Methylation of MicroRNA-375and the Expression of PDK1in Gastrointestinal Cancer
- Association of the Methylation Status of E-cadherin Promotor with Susceptibility to Endometriosis
- Role of the Methylation of STAT1Gene in Cervical Cancer
- The Expression and Significance of Macrophage Stimulating Protein and RON Receptor Tyrosine Kinase in Chronic Obstructive Pulmonary Disease Patients
- Design and Research on Control System of a Intelligent Notching Press