This commit is contained in:
Looly
2019-11-20 00:15:52 +08:00
parent eec404f875
commit 106ea5a759
12 changed files with 399 additions and 378 deletions

View File

@@ -23,8 +23,8 @@ public class RuntimeInfo implements Serializable{
}
/**
* 获得JVM最大可用内存
* @return 最大可用内存
* 获得JVM最大内存
* @return 最大内存
*/
public final long getMaxMemory(){
return currentRuntime.maxMemory();