Package org.postgresql.util.internal
Class JvmHeapAccess
- java.lang.Object
-
- org.postgresql.util.internal.JvmHeapAccess
-
public final class JvmHeapAccess extends java.lang.ObjectIsolated access toManagementFactory.Kept in its own class so that callers can be loaded on runtimes that omit
java.lang.management(most notably Android ART). Callers must guard invocations withtry { ... } catch (NoClassDefFoundError | LinkageError e)so the verifier never has to resolveManagementFactoryunless this class is actually used.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longmaxHeapBytes()
-