Definition at line 29 of file Runtime.cs.
◆ availableProcessors()
| static int IKVM.Java.Externs.java.lang.Runtime.availableProcessors |
( |
object | thisRuntime | ) |
|
|
static |
Definition at line 32 of file Runtime.cs.
33 {
34 return Environment.ProcessorCount;
35 }
◆ freeMemory()
| static long IKVM.Java.Externs.java.lang.Runtime.freeMemory |
( |
object | thisRuntime | ) |
|
|
static |
Definition at line 37 of file Runtime.cs.
38 {
39
40 return 10 * 1024 * 1024;
41 }
◆ gc()
| static void IKVM.Java.Externs.java.lang.Runtime.gc |
( |
object | thisRuntime | ) |
|
|
static |
Definition at line 55 of file Runtime.cs.
56 {
57 GC.Collect();
58 }
◆ maxMemory()
| static long IKVM.Java.Externs.java.lang.Runtime.maxMemory |
( |
object | thisRuntime | ) |
|
|
static |
Definition at line 49 of file Runtime.cs.
50 {
51
52 return Int64.MaxValue;
53 }
◆ runFinalization0()
| static void IKVM.Java.Externs.java.lang.Runtime.runFinalization0 |
( |
| ) |
|
|
static |
Definition at line 68 of file Runtime.cs.
69 {
70 GC.WaitForPendingFinalizers();
71 }
◆ totalMemory()
| static long IKVM.Java.Externs.java.lang.Runtime.totalMemory |
( |
object | thisRuntime | ) |
|
|
static |
Definition at line 43 of file Runtime.cs.
44 {
45
46 return GC.GetTotalMemory(
false) +
freeMemory(thisRuntime);
47 }
static long freeMemory(object thisRuntime)
◆ traceInstructions()
| static void IKVM.Java.Externs.java.lang.Runtime.traceInstructions |
( |
object | thisRuntime, |
|
|
bool | on ) |
|
static |
◆ traceMethodCalls()
| static void IKVM.Java.Externs.java.lang.Runtime.traceMethodCalls |
( |
object | thisRuntime, |
|
|
bool | on ) |
|
static |
The documentation for this class was generated from the following file:
- src/IKVM.Runtime/Java/Externs/java/lang/Runtime.cs