-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
301 lines (261 loc) · 19.2 KB
/
Copy pathindex.html
File metadata and controls
301 lines (261 loc) · 19.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
---
layout: default
---
<?xml version="1.0" encoding="utf8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
<html xmlns="http://www.w3.org/1999/xhtml"
>
<head> <title>Jikes RVM User Guide</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)" />
<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)" />
<!-- xhtml,charset=utf8,2,html -->
<meta name="src" content="index.tex" />
<link rel="stylesheet" type="text/css" href="index.css" />
</head><body
>
<div class="maketitle">
<h2 class="titleHead">Jikes RVM User Guide</h2>
<div class="author" ><span
class="cmr-12">Jikes RVM Contributors and Core Team</span></div><br />
<div class="date" ><span
class="cmr-12">2021-12-27</span></div>
</div>
<!--l. 57--><p class="noindent" >The User Guide provides Jikes<sup class="textsuperscript"><span
class="cmr-9">TM</span></sup> RVM information that is not typically covered in
<a
href="http://www.jikesrvm.org/Resources/Publications/" >published papers</a>. For high-level overviews, algorithms, and structures, you will find
the published papers to be the best starting place. The User Guide supplements these
Jikes RVM papers, focusing on implementation details of how to build, run, and add
functionality to the system.
</p><!--l. 59--><p class="noindent" >You may find sections of the User Guide missing, incomplete or otherwise confusing.
We intend this document to live as a continual work-in-progress, hopefully growing
and maturing as community members edit and add to the guide. Please accept this
invitation to contribute.
</p><!--l. 61--><p class="noindent" >Please send feedback, bug fixes, and text contributions to the <a
href="http://www.jikesrvm.org/MailingLists/" >core mailing list</a> or
open a pull request on <a
href="https://github.com/JikesRVM/jikesrvm.github.io/" >GitHub</a>. Constructive criticism will be cheerfully
accepted.
</p>
<ul class="itemize1">
<li class="itemize"><a
href="/UserGuide/indexpa1/index.html#x2-1000I">Care and Feeding</a>: The guide to practical aspects of building, testing,
debugging and evaluating Jikes RVM.
</li>
<li class="itemize"><a
href="/UserGuide/indexpa2/index.html#x14-148000II">Architecture</a>: The guide to the major architectural decisions of Jikes RVM.
</li>
<li class="itemize"><a
href="/UserGuide/indexpa3/index.html#x21-256000III">MMTk Tutorial</a>: A simple tutorial to building a collector with MMTk.</li></ul>
<!--l. 69--><p class="noindent" >
</p>
<div class="tableofcontents">
<span class="partToc" >I <a
href="/UserGuide/indexpa1/index.html#x2-1000I" id="QQ2-2-1">Care and Feeding</a></span>
<br /><span class="chapterToc" >1 <a
href="/UserGuide/QuickStartGuide/index.html#x3-20001" id="QQ2-3-2">Quick Start Guide</a></span>
<br /><span class="chapterToc" >2 <a
href="/UserGuide/GetTheSource/index.html#x4-30002" id="QQ2-4-3">Get the Source</a></span>
<br /> <span class="sectionToc" >2.1 <a
href="/UserGuide/GetTheSource/index.html#x4-40002.1" id="QQ2-4-4">Download a Release</a></span>
<br /> <span class="sectionToc" >2.2 <a
href="/UserGuide/GetTheSource/index.html#x4-50002.2" id="QQ2-4-5">Use Git</a></span>
<br /><span class="chapterToc" >3 <a
href="/UserGuide/BuildingJikesRVM/index.html#x5-60003" id="QQ2-5-6">Building Jikes RVM</a></span>
<br /> <span class="sectionToc" >3.1 <a
href="/UserGuide/BuildingJikesRVM/index.html#x5-70003.1" id="QQ2-5-7">Overview</a></span>
<br /> <span class="sectionToc" >3.2 <a
href="/UserGuide/BuildingJikesRVM/index.html#x5-120003.2" id="QQ2-5-12">Target Requirements</a></span>
<br /> <span class="sectionToc" >3.3 <a
href="/UserGuide/BuildingJikesRVM/index.html#x5-160003.3" id="QQ2-5-17">Tool Requirements</a></span>
<br /> <span class="sectionToc" >3.4 <a
href="/UserGuide/BuildingJikesRVM/index.html#x5-240003.4" id="QQ2-5-25">Instructions</a></span>
<br /> <span class="sectionToc" >3.5 <a
href="/UserGuide/BuildingJikesRVM/index.html#x5-300003.5" id="QQ2-5-33">Building Patched Versions</a></span>
<br /> <span class="sectionToc" >3.6 <a
href="/UserGuide/BuildingJikesRVM/index.html#x5-310003.6" id="QQ2-5-34">Cross-Platform Building</a></span>
<br /> <span class="sectionToc" >3.7 <a
href="/UserGuide/BuildingJikesRVM/index.html#x5-330003.7" id="QQ2-5-36">Primordial Class List</a></span>
<br /> <span class="sectionToc" >3.8 <a
href="/UserGuide/BuildingJikesRVM/index.html#x5-340003.8" id="QQ2-5-37">Using buildit</a></span>
<br /><span class="chapterToc" >4 <a
href="/UserGuide/ConfiguringJikesRVM/index.html#x6-430004" id="QQ2-6-46">Configuring Jikes RVM</a></span>
<br /> <span class="sectionToc" >4.1 <a
href="/UserGuide/ConfiguringJikesRVM/index.html#x6-440004.1" id="QQ2-6-48">Jikes RVM Configurations</a></span>
<br /><span class="chapterToc" >5 <a
href="/UserGuide/DebuggingJikesRVM/index.html#x7-470005" id="QQ2-7-53">Debugging Jikes RVM</a></span>
<br /> <span class="sectionToc" >5.1 <a
href="/UserGuide/DebuggingJikesRVM/index.html#x7-480005.1" id="QQ2-7-54">General debugging tips</a></span>
<br /> <span class="sectionToc" >5.2 <a
href="/UserGuide/DebuggingJikesRVM/index.html#x7-550005.2" id="QQ2-7-61">Tools</a></span>
<br /> <span class="sectionToc" >5.3 <a
href="/UserGuide/DebuggingJikesRVM/index.html#x7-590005.3" id="QQ2-7-65">Debugging Optimizing Compiler Problems</a></span>
<br /> <span class="sectionToc" >5.4 <a
href="/UserGuide/DebuggingJikesRVM/index.html#x7-620005.4" id="QQ2-7-68">Debugging problems related to the class library</a></span>
<br /> <span class="sectionToc" >5.5 <a
href="/UserGuide/DebuggingJikesRVM/index.html#x7-630005.5" id="QQ2-7-69">GDB Stack Walking</a></span>
<br /><span class="chapterToc" >6 <a
href="/UserGuide/ExperimentalGuidelines/index.html#x8-640006" id="QQ2-8-70">Experimental Guidelines</a></span>
<br /> <span class="sectionToc" >6.1 <a
href="/UserGuide/ExperimentalGuidelines/index.html#x8-650006.1" id="QQ2-8-71">Which boot image should I use?</a></span>
<br /> <span class="sectionToc" >6.2 <a
href="/UserGuide/ExperimentalGuidelines/index.html#x8-660006.2" id="QQ2-8-72">Compiler Replay</a></span>
<br /> <span class="sectionToc" >6.3 <a
href="/UserGuide/ExperimentalGuidelines/index.html#x8-700006.3" id="QQ2-8-76">Measuring GC performance</a></span>
<br /> <span class="sectionToc" >6.4 <a
href="/UserGuide/ExperimentalGuidelines/index.html#x8-710006.4" id="QQ2-8-77">Jikes RVM is really slow! What am I doing wrong?</a></span>
<br /> <span class="sectionToc" >6.5 <a
href="/UserGuide/ExperimentalGuidelines/index.html#x8-720006.5" id="QQ2-8-78">Stability of Jikes RVM</a></span>
<br /><span class="chapterToc" >7 <a
href="/UserGuide/ModifyingJikesRVM/index.html#x9-730007" id="QQ2-9-79">Modifying Jikes RVM</a></span>
<br /> <span class="sectionToc" >7.1 <a
href="/UserGuide/ModifyingJikesRVM/index.html#x9-740007.1" id="QQ2-9-80">Adding command line options</a></span>
<br /> <span class="sectionToc" >7.2 <a
href="/UserGuide/ModifyingJikesRVM/index.html#x9-780007.2" id="QQ2-9-84">Adding a new garbage collector</a></span>
<br /> <span class="sectionToc" >7.3 <a
href="/UserGuide/ModifyingJikesRVM/index.html#x9-850007.3" id="QQ2-9-91">Coding Conventions</a></span>
<br /> <span class="sectionToc" >7.4 <a
href="/UserGuide/ModifyingJikesRVM/index.html#x9-900007.4" id="QQ2-9-96">Coding Style</a></span>
<br /> <span class="sectionToc" >7.5 <a
href="/UserGuide/ModifyingJikesRVM/index.html#x9-940007.5" id="QQ2-9-100">Compiler DNA</a></span>
<br /> <span class="sectionToc" >7.6 <a
href="/UserGuide/ModifyingJikesRVM/index.html#x9-950007.6" id="QQ2-9-101">Editing Jikes RVM in an IDE</a></span>
<br /><span class="chapterToc" >8 <a
href="/UserGuide/ProfilingApplicationsWithJikesRVM/index.html#x10-990008" id="QQ2-10-105">Profiling Applications with Jikes RVM</a></span>
<br /> <span class="sectionToc" >8.1 <a
href="/UserGuide/ProfilingApplicationsWithJikesRVM/index.html#x10-1000008.1" id="QQ2-10-106">Instrumented Event Counters</a></span>
<br /><span class="chapterToc" >9 <a
href="/UserGuide/RunningJikesRVM/index.html#x11-1030009" id="QQ2-11-109">Running Jikes RVM</a></span>
<br /> <span class="sectionToc" >9.1 <a
href="/UserGuide/RunningJikesRVM/index.html#x11-1040009.1" id="QQ2-11-110">Standard Command-Line Options</a></span>
<br /> <span class="sectionToc" >9.2 <a
href="/UserGuide/RunningJikesRVM/index.html#x11-1050009.2" id="QQ2-11-111">Non-Standard Command-Line Options</a></span>
<br /> <span class="sectionToc" >9.3 <a
href="/UserGuide/RunningJikesRVM/index.html#x11-1090009.3" id="QQ2-11-115">Running Jikes RVM with Valgrind</a></span>
<br /><span class="chapterToc" >10 <a
href="/UserGuide/TestingJikesRVM/index.html#x12-11000010" id="QQ2-12-116">Testing Jikes RVM</a></span>
<br /> <span class="sectionToc" >10.1 <a
href="/UserGuide/TestingJikesRVM/index.html#x12-11100010.1" id="QQ2-12-117">Unit Tests</a></span>
<br /> <span class="sectionToc" >10.2 <a
href="/UserGuide/TestingJikesRVM/index.html#x12-11200010.2" id="QQ2-12-118">Functional and Performance Tests</a></span>
<br /> <span class="sectionToc" >10.3 <a
href="/UserGuide/TestingJikesRVM/index.html#x12-11800010.3" id="QQ2-12-127">External Test Resources</a></span>
<br /> <span class="sectionToc" >10.4 <a
href="/UserGuide/TestingJikesRVM/index.html#x12-13200010.4" id="QQ2-12-141">Test Run Descriptions</a></span>
<br /><span class="chapterToc" >11 <a
href="/UserGuide/TheMMTkTestHarness/index.html#x13-13800011" id="QQ2-13-147">The MMTk Test Harness</a></span>
<br /> <span class="sectionToc" >11.1 <a
href="/UserGuide/TheMMTkTestHarness/index.html#x13-13900011.1" id="QQ2-13-148">Overview</a></span>
<br /> <span class="sectionToc" >11.2 <a
href="/UserGuide/TheMMTkTestHarness/index.html#x13-14000011.2" id="QQ2-13-149">Standalone</a></span>
<br /> <span class="sectionToc" >11.3 <a
href="/UserGuide/TheMMTkTestHarness/index.html#x13-14100011.3" id="QQ2-13-150">In Eclipse</a></span>
<br /> <span class="sectionToc" >11.4 <a
href="/UserGuide/TheMMTkTestHarness/index.html#x13-14200011.4" id="QQ2-13-151">Test harness options</a></span>
<br /> <span class="sectionToc" >11.5 <a
href="/UserGuide/TheMMTkTestHarness/index.html#x13-14300011.5" id="QQ2-13-152">Scripts</a></span>
<br /> <span class="sectionToc" >11.6 <a
href="/UserGuide/TheMMTkTestHarness/index.html#x13-14400011.6" id="QQ2-13-153">Scripting language</a></span>
<br /> <span class="sectionToc" >11.7 <a
href="/UserGuide/TheMMTkTestHarness/index.html#x13-14700011.7" id="QQ2-13-156">MMTk Unit Tests</a></span>
<br /><span class="partToc" >II <a
href="/UserGuide/indexpa2/index.html#x14-148000II" id="QQ2-14-157">Architecture</a></span>
<br /><span class="chapterToc" >12 <a
href="/UserGuide/AdaptiveOptimizationSystem/index.html#x15-14900012" id="QQ2-15-158">Adaptive Optimization System</a></span>
<br /> <span class="sectionToc" >12.1 <a
href="/UserGuide/AdaptiveOptimizationSystem/index.html#x15-15200012.1" id="QQ2-15-161">AOS Controller</a></span>
<br /> <span class="sectionToc" >12.2 <a
href="/UserGuide/AdaptiveOptimizationSystem/index.html#x15-15300012.2" id="QQ2-15-162">Cost Benefit Model</a></span>
<br /> <span class="sectionToc" >12.3 <a
href="/UserGuide/AdaptiveOptimizationSystem/index.html#x15-15400012.3" id="QQ2-15-163">Jikes RVM’s compilers</a></span>
<br /> <span class="sectionToc" >12.4 <a
href="/UserGuide/AdaptiveOptimizationSystem/index.html#x15-15500012.4" id="QQ2-15-164">Life Cycle of a Compiled Method</a></span>
<br /> <span class="sectionToc" >12.5 <a
href="/UserGuide/AdaptiveOptimizationSystem/index.html#x15-15600012.5" id="QQ2-15-166">Logging and Debugging</a></span>
<br /> <span class="sectionToc" >12.6 <a
href="/UserGuide/AdaptiveOptimizationSystem/index.html#x15-15700012.6" id="QQ2-15-167">Threading and Yieldpoints</a></span>
<br /><span class="chapterToc" >13 <a
href="/UserGuide/Compilers/index.html#x16-15800013" id="QQ2-16-168">Compilers</a></span>
<br /> <span class="sectionToc" >13.1 <a
href="/UserGuide/Compilers/index.html#x16-15900013.1" id="QQ2-16-169">Baseline Compiler</a></span>
<br /> <span class="sectionToc" >13.2 <a
href="/UserGuide/Compilers/index.html#x16-16200013.2" id="QQ2-16-172">Optimizing Compiler</a></span>
<br /><span class="chapterToc" >14 <a
href="/UserGuide/CoreRuntimeServices/index.html#x17-17100014" id="QQ2-17-182">Core Runtime Services</a></span>
<br /> <span class="sectionToc" >14.1 <a
href="/UserGuide/CoreRuntimeServices/index.html#x17-17200014.1" id="QQ2-17-183">Object Model</a></span>
<br /> <span class="sectionToc" >14.2 <a
href="/UserGuide/CoreRuntimeServices/index.html#x17-17600014.2" id="QQ2-17-187">Class and Code Management</a></span>
<br /> <span class="sectionToc" >14.3 <a
href="/UserGuide/CoreRuntimeServices/index.html#x17-18500014.3" id="QQ2-17-196">Thread Management</a></span>
<br /> <span class="sectionToc" >14.4 <a
href="/UserGuide/CoreRuntimeServices/index.html#x17-19000014.4" id="QQ2-17-201">JNI</a></span>
<br /> <span class="sectionToc" >14.5 <a
href="/UserGuide/CoreRuntimeServices/index.html#x17-19700014.5" id="QQ2-17-208">Exception Management</a></span>
<br /> <span class="sectionToc" >14.6 <a
href="/UserGuide/CoreRuntimeServices/index.html#x17-19800014.6" id="QQ2-17-209">Bootstrap</a></span>
<br /> <span class="sectionToc" >14.7 <a
href="/UserGuide/CoreRuntimeServices/index.html#x17-20300014.7" id="QQ2-17-214">Calling Conventions</a></span>
<br /> <span class="sectionToc" >14.8 <a
href="/UserGuide/CoreRuntimeServices/index.html#x17-21000014.8" id="QQ2-17-221">VM Callbacks</a></span>
<br /><span class="chapterToc" >15 <a
href="/UserGuide/Magic/index.html#x18-21300015" id="QQ2-18-224">Magic</a></span>
<br /> <span class="sectionToc" >15.1 <a
href="/UserGuide/Magic/index.html#x18-21400015.1" id="QQ2-18-225">Compiler Intrinsics</a></span>
<br /> <span class="sectionToc" >15.2 <a
href="/UserGuide/Magic/index.html#x18-21700015.2" id="QQ2-18-228">Unboxed Types</a></span>
<br /> <span class="sectionToc" >15.3 <a
href="/UserGuide/Magic/index.html#x18-21800015.3" id="QQ2-18-229">Raw Memory Access</a></span>
<br /> <span class="sectionToc" >15.4 <a
href="/UserGuide/Magic/index.html#x18-21900015.4" id="QQ2-18-230">Uninterruptible Code</a></span>
<br /><span class="chapterToc" >16 <a
href="/UserGuide/MMTk/index.html#x19-22000016" id="QQ2-19-231">MMTk</a></span>
<br /> <span class="sectionToc" >16.1 <a
href="/UserGuide/MMTk/index.html#x19-22100016.1" id="QQ2-19-232">Anatomy of a Garbage Collector</a></span>
<br /> <span class="sectionToc" >16.2 <a
href="/UserGuide/MMTk/index.html#x19-23000016.2" id="QQ2-19-241">Memory Allocation in Jikes RVM</a></span>
<br /> <span class="sectionToc" >16.3 <a
href="/UserGuide/MMTk/index.html#x19-23500016.3" id="QQ2-19-246">Scanning Objects in Jikes RVM</a></span>
<br /> <span class="sectionToc" >16.4 <a
href="/UserGuide/MMTk/index.html#x19-23900016.4" id="QQ2-19-250">Using GCSpy</a></span>
<br /><span class="chapterToc" >17 <a
href="/UserGuide/ClassLibraryInterface/index.html#x20-25100017" id="QQ2-20-262">Interface to the Class Library</a></span>
<br /> <span class="sectionToc" >17.1 <a
href="/UserGuide/ClassLibraryInterface/index.html#x20-25200017.1" id="QQ2-20-263">Overview</a></span>
<br /> <span class="sectionToc" >17.2 <a
href="/UserGuide/ClassLibraryInterface/index.html#x20-25300017.2" id="QQ2-20-264">GNU Classpath VM interface</a></span>
<br /> <span class="sectionToc" >17.3 <a
href="/UserGuide/ClassLibraryInterface/index.html#x20-25400017.3" id="QQ2-20-265">Naming conventions</a></span>
<br /> <span class="sectionToc" >17.4 <a
href="/UserGuide/ClassLibraryInterface/index.html#x20-25500017.4" id="QQ2-20-266">Build organisation</a></span>
<br /><span class="partToc" >III <a
href="/UserGuide/indexpa3/index.html#x21-256000III" id="QQ2-21-267">MMTk Tutorial</a></span>
<br /><span class="chapterToc" >18 <a
href="/UserGuide/Preliminaries/index.html#x22-25700018" id="QQ2-22-268">Preliminaries</a></span>
<br /> <span class="sectionToc" >18.1 <a
href="/UserGuide/Preliminaries/index.html#x22-25800018.1" id="QQ2-22-269">Getting MMTk and Jikes RVM and Eclipse working</a></span>
<br /> <span class="sectionToc" >18.2 <a
href="/UserGuide/Preliminaries/index.html#x22-25900018.2" id="QQ2-22-270">Creating The Base Tutorial Collector</a></span>
<br /><span class="chapterToc" >19 <a
href="/UserGuide/BuildingAMarkSweepCollector/index.html#x23-26000019" id="QQ2-23-271">Building a Mark-sweep Collector</a></span>
<br /> <span class="sectionToc" >19.1 <a
href="/UserGuide/BuildingAMarkSweepCollector/index.html#x23-26100019.1" id="QQ2-23-272">Free-list Allocation</a></span>
<br /> <span class="sectionToc" >19.2 <a
href="/UserGuide/BuildingAMarkSweepCollector/index.html#x23-26200019.2" id="QQ2-23-273">Mark-Sweep Collection</a></span>
<br /> <span class="sectionToc" >19.3 <a
href="/UserGuide/BuildingAMarkSweepCollector/index.html#x23-26300019.3" id="QQ2-23-274">Optimized Mark-sweep Collection</a></span>
<br /><span class="chapterToc" >20 <a
href="/UserGuide/BuildingAHybridCollector/index.html#x24-26400020" id="QQ2-24-275">Building a Hybrid Collector</a></span>
<br /> <span class="sectionToc" >20.1 <a
href="/UserGuide/BuildingAHybridCollector/index.html#x24-26500020.1" id="QQ2-24-276">Add a Copying Nursery</a></span>
<br /> <span class="sectionToc" >20.2 <a
href="/UserGuide/BuildingAHybridCollector/index.html#x24-26600020.2" id="QQ2-24-277">Add nursery allocation</a></span>
<br /> <span class="sectionToc" >20.3 <a
href="/UserGuide/BuildingAHybridCollector/index.html#x24-26700020.3" id="QQ2-24-278">Add copying to the collector</a></span>
<br /> <span class="sectionToc" >20.4 <a
href="/UserGuide/BuildingAHybridCollector/index.html#x24-26800020.4" id="QQ2-24-279">Make necessary changes to TutorialTraceLocal</a></span>
</div>
</body></html>