Skip to content

Commit 05ac3b3

Browse files
committed
Minor fixes to comments.
1 parent 62dab60 commit 05ac3b3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/AbstractCollectionPolicy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public UnsignedWord getMaximumFreeAlignedChunksSize() {
297297
/*
298298
* Keep chunks ready for allocations in eden and for the survivor to-spaces during young
299299
* 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
301301
* getCurrentHeapCapacity() to have chunks ready during full GCs as well.
302302
*/
303303
UnsignedWord total = edenSize.add(survivorSize);

substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/ReciprocalLeastSquareFit.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
package com.oracle.svm.core.genscavenge;
2626

2727
/**
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
2929
* to assign a higher weight to newly added data points and effectively drop old data points without
3030
* keeping a history.
3131
*

substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/remset/BrickTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
/**
4141
* Inspired by the .NET CoreCLR GC, the {@link BrickTable} speeds up lookups of new object locations
4242
* 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
4444
* covers. It borrows the memory of a chunk's {@link CardTable}.
4545
*/
4646
public final class BrickTable {

0 commit comments

Comments
 (0)