Font Size: a A A

The Research Of Java Virtual Machine Garbage Collection

Posted on:2012-06-11Degree:MasterType:Thesis
Country:ChinaCandidate:L ZhengFull Text:PDF
GTID:2178330332974779Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Virtual machine, which stands against with our ordinary realistic computer, is just a concept. It's an imagining software system, which can be used to simulate the real computer. The advantage of virtual machine is it can reuse the programs on the different operating system, say the portability of application program. The design mechanism of Java Virtual Machine reflects this character very well.This paper takes the garbage collection in Java virtual machine as the research field, deeply analysis and research the key technique in it. it. Based on the traditional generation garbage collection, the author supplies a new dynamic generational garbage collection algorithm with region-mark. The work on this paper can be described as follows:First, we introduce the application of java virtual machine simply. Then introduce the basic function and components of Java virtual machine.Second, describes some common garbage collection algorithms and their advantages and shortages, such as reference counting,mark-sweep and copying.Third, presents the theory about generational garbage collection and its two weak points. Then, the author proposes a a new dynamic generational garbage collection algorithm with region-mark to resolve the problems.At last, the author gives an example to show how to realize a dynamic generational garbage collection algorithm with region-mark in JIKES RVM and some test data in SPEC JVM2008 and Dacapo 2006 which are the proof to improve the efficient of garbage collection.
Keywords/Search Tags:Java virtual machine, Garbage collection, Generational algorithm
PDF Full Text Request
Related items