Package org.teavm.perf.runtime
Class BlackholeSink
java.lang.Object
org.teavm.perf.runtime.BlackholeSink
Accumulates everything consumed by blackholes. Values are stored in static fields which are eventually read
by
BenchmarkEntryPoint and reported to the host, so the compiler can't prove that computations
producing these values are dead.-
Field Summary
Fields -
Method Summary
-
Field Details
-
intSink
public static int intSink -
longSink
public static long longSink -
doubleSink
public static double doubleSink -
objectSink
-
objectCount
public static int objectCount
-