Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/java/org/jruby/Main.java
Original file line number Diff line number Diff line change
@@ -546,7 +546,9 @@ public static void printTruffleTimeMetric(String id) {

private static void printTruffleMemoryMetric() {
if (Options.TRUFFLE_METRICS_MEMORY_USED_ON_EXIT.load()) {
System.gc();
for (int n = 0; n < 10; n++) {
System.gc();
}

try {
Thread.sleep(1000);

0 comments on commit 527bc08

Please sign in to comment.