You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/html/classtrace_gen_1_1_memory_manager.html
+4-4
Original file line number
Diff line number
Diff line change
@@ -303,7 +303,7 @@
303
303
</tr>
304
304
</table>
305
305
</div><divclass="memdoc">
306
-
<p>This method allocate an object, object size is determined dynamically, add object reference to the rootset of the thread, and add object reference to the object list return object reference </p>
306
+
<p>This method allocates an object, object size is determined dynamically, add object reference to the rootset of the thread, and add object reference to the object list return object reference </p>
307
307
308
308
</div>
309
309
</div>
@@ -653,7 +653,7 @@
653
653
</tr>
654
654
</table>
655
655
</div><divclass="memdoc">
656
-
<p>This method return true if the object reference is in the rootset of the thread </p>
656
+
<p>This method returns true if the object reference is in the rootset of the thread </p>
657
657
658
658
</div>
659
659
</div>
@@ -746,7 +746,7 @@
746
746
</tr>
747
747
</table>
748
748
</div><divclass="memdoc">
749
-
<p>The method writes referece of targetObject into the pointer slot of startObject </p>
749
+
<p>The method writes reference of targetObject into the pointer slot of startObject </p>
750
750
751
751
</div>
752
752
</div>
@@ -806,7 +806,7 @@
806
806
</tr>
807
807
</table>
808
808
</div><divclass="memdoc">
809
-
<p>This overloading method write reference of an object at top of the rootset of the thread </p>
809
+
<p>This overloading method writes reference of an object at top of the rootset of the thread </p>
Copy file name to clipboardExpand all lines: Documentation/html/md__r_e_a_d_m_e.html
+32-32
Original file line number
Diff line number
Diff line change
@@ -82,34 +82,34 @@
82
82
<divclass="contents">
83
83
<divclass="textblock"><p>The goal of this project is to design and develop a program that can automatically generate all types of basic memory management operations and write into trace files. Trace files can be used as further benchmarks for simulating Automatic Memory Management Systems (such as Garbage Collectors).</p>
84
84
<h1>Trace File</h1>
85
-
<p>A trace file is a collection of the following basic memory management operations in order to execute an application.</p><ul>
85
+
<p>A trace file is a collection of the following basic memory management operations typically found in executing an application.</p><ul>
86
86
<li>Allocation</li>
87
87
<li>Store</li>
88
88
<li>Read</li>
89
89
</ul>
90
90
<h1>Trace File Format and Specification</h1>
91
-
<p>The trace file to be generated by traceGen has the following formats and meanings:</p>
91
+
<p>The trace file generated by TraceFileGen has the following formats and meanings:</p>
<td>–operations x </td><td>-o x </td><td>x is an integer, number of total memory management operations to be created in a trace file (default: 100) </td></tr>
168
+
<td>–operations x </td><td>-o x </td><td>x is the number of total memory management operations to be created in a trace file (default: 100) </td></tr>
169
169
<tr>
170
-
<td>–thread x </td><td>-t x </td><td>x is an integer, number of threads (default: 10) </td></tr>
170
+
<td>–thread x </td><td>-t x </td><td>x is the number of threads (default: 10) </td></tr>
171
171
<tr>
172
-
<td>–class x </td><td>-c x </td><td>x is an integer, number of classes (default: 300) </td></tr>
172
+
<td>–class x </td><td>-c x </td><td>x is the number of classes (default: 300) </td></tr>
173
173
<tr>
174
-
<td>–pointers x </td><td>-p x </td><td>x is an integer, maximum number of pointer fields in an object or static pointer fields in a class (default: 10) </td></tr>
174
+
<td>–pointers x </td><td>-p x </td><td>x is the maximum number of pointer fields in an object or static pointer fields in a class (default: 10) </td></tr>
175
175
<tr>
176
-
<td>–primitives x </td><td>-pm x </td><td>x is an integer, maximum number of primitive fields in an object or static primitive fields in a class (default: 6) </td></tr>
176
+
<td>–primitives x </td><td>-pm x </td><td>x is the maximum number of primitive fields in an object or static primitive fields in a class (default: 6) </td></tr>
177
177
<tr>
178
-
<td>–allocation x </td><td>-a x </td><td>x is an integer, ratio of allocation in total MM operations (default: 2)</td></tr>
178
+
<td>–allocation x </td><td>-a x </td><td>x is the percentage of allocation in total MM operations (default: 1)*</td></tr>
179
179
<tr>
180
-
<td>–storeaccess x </td><td>-s x </td><td>x is an integer, ratio of store operations in total MM operations (default: 11)</td></tr>
180
+
<td>–storeaccess x </td><td>-s x </td><td>x is the percentage of store operations in total MM operations (default: 8)*</td></tr>
181
181
<tr>
182
-
<td>–readaccess x </td><td>-r x </td><td>x is an integer, ratio of read operations in total MM operations (default: 88)</td></tr>
182
+
<td>–readaccess x </td><td>-r x </td><td>x is the percentage of read operations in total MM operations (default: 80)*</td></tr>
183
183
<tr>
184
-
<td>–deleteroot x </td><td>-d x </td><td>x is an integer, ratio of root delete operations in total MM operations (default: 10)</td></tr>
184
+
<td>–deleteroot x </td><td>-d x </td><td>x is the percentage of root delete operations in total MM operations (default: 11)*</td></tr>
185
185
<tr>
186
-
<td>–static x </td><td>-sf x </td><td>x is an integer, ratio of static field access (store/read) from a class(default: 30) </td></tr>
186
+
<td>–static x </td><td>-sf x </td><td>x is the ratio of static field access (store/read) from a class(default: 30) </td></tr>
187
187
<tr>
188
-
<td>–prifaccess x </td><td>-pfa x </td><td>x is an integer, ratio of primitive field access (store/read) from either a object or a class (default: 70) </td></tr>
188
+
<td>–prifaccess x </td><td>-pfa x </td><td>x is the ratio of primitive field access (store/read) from either a object or a class (default: 70) </td></tr>
189
189
<tr>
190
-
<td>–escape x </td><td>-e x </td><td>x is an integer, ratio of an object being escaped (default: 12) </td></tr>
190
+
<td>–escape x </td><td>-e x </td><td>x is the ratio of an object being escaped (default: 12) </td></tr>
191
191
<tr>
192
-
<td>–esctopartner x </td><td>-etp x </td><td>x is an integer, ratio of an object being escaped to partner thread (default: 90) </td></tr>
192
+
<td>–esctopartner x </td><td>-etp x </td><td>x is the ratio of an object being escaped to partner thread (default: 90) </td></tr>
193
193
</table>
194
-
<p>Some more options are given in this application</p>
195
-
<h1>Output (After after running)</h1>
194
+
<p>*100% distribution among them</p>
195
+
<h1>Output (After running)</h1>
196
196
<p>traceGen will generate three files</p><ul>
197
197
<li>*.trace — containing a sequence of memory management operations</li>
198
198
<li>*.cls — containing a lists of classes</li>
199
199
<li>*.log — containing statistical data, where * is the name of the trace file specified on the command line (e.g., "traceFile")</li>
200
200
</ul>
201
-
<h1>Usages of Trace Files</h1>
201
+
<h1>Usage of Trace Files</h1>
202
202
<p>The obtained trace files can be used to simulate and analyse memory management operations by using TraceFileSim can be found in <ahref="https://github.com/GarCoSim/TraceFileSim">https://github.com/GarCoSim/TraceFileSim</a></p>
0 commit comments