MCPcopy Create free account
hub / github.com/annmuor/jnode / memoryInfo

Method memoryInfo

jnode-core/src/jnode/core/SysInfo.java:122–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 }
121
122 public static MemoryInfo memoryInfo() {
123 Runtime runtime = Runtime.getRuntime();
124 return new MemoryInfo(runtime.totalMemory(), runtime.freeMemory(), runtime.maxMemory());
125 }
126
127 public static ThreadInfo threadInfo(){
128 return new ThreadInfo(Thread.activeCount());

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected