MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / methodForThreadEarlyEnd

Method methodForThreadEarlyEnd

test/test/smoke/Threads.java:29–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 static void methodForThreadEarlyEnd() {
30 long now = System.currentTimeMillis();
31 BigInteger counter = BigInteger.ZERO;
32 while (System.currentTimeMillis() - now < 300) {
33 counter = counter.nextProbablePrime();
34 }
35 }
36
37 static void methodForRenamedThread() {
38 long now = System.currentTimeMillis();

Callers 1

runMethod · 0.95

Calls 1

currentTimeMillisMethod · 0.80

Tested by

no test coverage detected