Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/async-profiler/async-profiler
/ pid
Method
pid
test/one/profiler/test/TestProcess.java:289–295 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
287
}
288
289
public
long pid() {
290
try {
291
return
(long) pid.invokeExact(p);
292
} catch (Throwable e) {
293
throw
new
IllegalStateException(
"Unsupported API"
, e);
294
}
295
}
296
297
public
int
exitCode() {
298
return
p.exitValue();
Callers
2
profile
Method · 0.95
pinCpu
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected