Skip to content

Commit 731bf17

Browse files
Return correct name for libgraal-specific collection policy.
1 parent 10afb04 commit 731bf17

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ public static final class Options {
6565
private UnsignedWord sizeBefore = Word.zero();
6666
private GCCause lastGCCause = null;
6767

68+
@Override
69+
public String getName() {
70+
return "libgraal";
71+
}
72+
6873
/**
6974
* The hinted GC will be triggered only if the used bytes in eden space is greater than
7075
* {@link Options#ExpectedEdenSize}, or if the ratio of used bytes to total allocated bytes of

0 commit comments

Comments
 (0)