Skip to content

Commit 4081096

Browse files
committed
Override the getDebug() method in the ParseTask class to enable Timers logging support.
1 parent ce5de77 commit 4081096

File tree

1 file changed

+5
-0
lines changed
  • substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/code

1 file changed

+5
-0
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/code/CompileQueue.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@ public void run(DebugContext debug) {
357357
public Description getDescription() {
358358
return description;
359359
}
360+
361+
@Override
362+
public DebugContext getDebug(OptionValues options, List<DebugHandlersFactory> factories) {
363+
return new DebugContext.Builder(options, factories).description(getDescription()).globalMetrics(metricValues).build();
364+
}
360365
}
361366

362367
@SuppressWarnings("this-escape")

0 commit comments

Comments
 (0)