MCPcopy Create free account
hub / github.com/ReadyTalk/avian / start

Method start

classpath/java/lang/Thread.java:85–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 public synchronized void start() {
86 if (peer != 0) {
87 throw new IllegalStateException("thread already started");
88 }
89
90 state = (byte) State.RUNNABLE.ordinal();
91
92 peer = doStart();
93 if (peer == 0) {
94 state = (byte) State.NEW.ordinal();
95 throw new RuntimeException("unable to start native thread");
96 }
97 }
98
99 private native long doStart();
100

Callers 4

mainMethod · 0.95
mainMethod · 0.95
startTraceListenerMethod · 0.95
execMethod · 0.95

Calls 2

doStartMethod · 0.95
ordinalMethod · 0.80

Tested by 2

mainMethod · 0.76
mainMethod · 0.76