IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Java.Externs.sun.management.MemoryImpl Class Reference

Static Public Member Functions

static object getMemoryPools0 ()
 
static object getMemoryManagers0 ()
 
static object getMemoryUsage0 (object impl, bool heap)
 
static void setVerboseGC (object impl, bool value)
 

Detailed Description

Definition at line 28 of file MemoryImpl.cs.

Member Function Documentation

◆ getMemoryManagers0()

static object IKVM.Java.Externs.sun.management.MemoryImpl.getMemoryManagers0 ( )
static

Definition at line 40 of file MemoryImpl.cs.

41 {
42#if FIRST_PASS
43 return null;
44#else
45 return new global::java.lang.management.MemoryManagerMXBean[0];
46#endif
47 }

◆ getMemoryPools0()

static object IKVM.Java.Externs.sun.management.MemoryImpl.getMemoryPools0 ( )
static

Definition at line 31 of file MemoryImpl.cs.

32 {
33#if FIRST_PASS
34 return null;
35#else
36 return new global::java.lang.management.MemoryPoolMXBean[0];
37#endif
38 }

◆ getMemoryUsage0()

static object IKVM.Java.Externs.sun.management.MemoryImpl.getMemoryUsage0 ( object impl,
bool heap )
static

Definition at line 49 of file MemoryImpl.cs.

50 {
51#if FIRST_PASS
52 return null;
53#else
54 long mem = System.GC.GetTotalMemory(false);
55 return new global::java.lang.management.MemoryUsage(-1, mem, mem, -1);
56#endif
57 }

◆ setVerboseGC()

static void IKVM.Java.Externs.sun.management.MemoryImpl.setVerboseGC ( object impl,
bool value )
static

Definition at line 59 of file MemoryImpl.cs.

60 {
61
62 }

The documentation for this class was generated from the following file: