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: substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/AbstractCollectionPolicy.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -297,7 +297,7 @@ public UnsignedWord getMaximumFreeAlignedChunksSize() {
297
297
/*
298
298
* Keep chunks ready for allocations in eden and for the survivor to-spaces during young
299
299
* collections (although we might keep too many aligned chunks when large objects in
300
-
* unallocated chunks are also allocated). We could alternatively return
300
+
* unaligned chunks are also allocated). We could alternatively return
301
301
* getCurrentHeapCapacity() to have chunks ready during full GCs as well.
Copy file name to clipboardExpand all lines: substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/AdaptiveCollectionPolicy.java
+2-1
Original file line number
Diff line number
Diff line change
@@ -190,7 +190,8 @@ public boolean shouldCollectCompletely(boolean followingIncrementalCollection) {
190
190
returnfalse;
191
191
}
192
192
193
-
if (minorCountSinceMajorCollection * avgMinorPause.getAverage() >= CONSECUTIVE_MINOR_TO_MAJOR_COLLECTION_PAUSE_TIME_RATIO * avgMajorPause.getPaddedAverage()) {
Copy file name to clipboardExpand all lines: substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/CompactingOldGeneration.java
Copy file name to clipboardExpand all lines: substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/ReciprocalLeastSquareFit.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@
25
25
packagecom.oracle.svm.core.genscavenge;
26
26
27
27
/**
28
-
* Least squares fitting on a data set to generate an equation y = b + a / x. Uses exponential decay
28
+
* Least squares fitting on a data set to generate an equation y = a + b / x. Uses exponential decay
29
29
* to assign a higher weight to newly added data points and effectively drop old data points without
Copy file name to clipboardExpand all lines: substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/compacting/ObjectMoveInfo.java
Copy file name to clipboardExpand all lines: substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/compacting/PlanningVisitor.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ public boolean visitChunk(AlignedHeapChunk.AlignedHeader chunk) {
71
71
UnsignedWordbrickIndex = Word.zero();
72
72
73
73
/* Initialize the move info structure at the chunk's object start location. */
Copy file name to clipboardExpand all lines: substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/compacting/SweepingVisitor.java
Copy file name to clipboardExpand all lines: substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/remset/AlignedChunkRememberedSet.java
Copy file name to clipboardExpand all lines: substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/remset/BrickTable.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@
40
40
/**
41
41
* Inspired by the .NET CoreCLR GC, the {@link BrickTable} speeds up lookups of new object locations
42
42
* after compaction by acting as a lookup table for {@link ObjectMoveInfo} structures. Each entry
43
-
* stores a pointer to the start of the first such structure for the fraction of the chunk that it
43
+
* stores the offset of the start of the first such structure for the fraction of the chunk that it
44
44
* covers. It borrows the memory of a chunk's {@link CardTable}.
Copy file name to clipboardExpand all lines: substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/remset/FirstObjectTable.java
+5-4
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,6 @@
24
24
*/
25
25
packagecom.oracle.svm.core.genscavenge.remset;
26
26
27
-
importjdk.graal.compiler.word.Word;
28
27
importorg.graalvm.word.Pointer;
29
28
importorg.graalvm.word.UnsignedWord;
30
29
@@ -37,6 +36,8 @@
37
36
importcom.oracle.svm.core.log.Log;
38
37
importcom.oracle.svm.core.util.UnsignedUtils;
39
38
39
+
importjdk.graal.compiler.word.Word;
40
+
40
41
/**
41
42
* A "first object table" to tell me the start of the first object that crosses onto a card
42
43
* remembered set memory region.
@@ -109,7 +110,7 @@
109
110
* <p>
110
111
* Implementation note: Table entries are bytes but converted to and from ints with bounds checks.
111
112
*/
112
-
finalclassFirstObjectTable {
113
+
publicfinalclassFirstObjectTable {
113
114
/**
114
115
* The number of bytes of memory covered by an entry. Since the indexes into the CardTable are
115
116
* used to index into the FirstObjectTable, these need to have the same value.
@@ -237,7 +238,7 @@ public static void setTableForObject(Pointer table, UnsignedWord startOffset, Un
237
238
*/
238
239
@AlwaysInline("GC performance")
239
240
@Uninterruptible(reason = "Called from uninterruptible code.", mayBeInlined = true)
0 commit comments