Class BootstrapInfo


  • public final class BootstrapInfo
    extends java.lang.Object
    Exposes system startup information
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String UNTRUSTED_CODEBASE
      codebase location for untrusted scripts (provide some additional safety)
    • Method Summary

      Modifier and Type Method Description
      static java.util.Dictionary<java.lang.Object,​java.lang.Object> getSystemProperties()
      Returns a read-only view of all system properties
      static void init()  
      static boolean isMemoryLocked()
      Returns true if we were able to lock the process's address space.
      static boolean isNativesAvailable()
      Returns true if we successfully loaded native libraries.
      static boolean isSystemCallFilterInstalled()
      Returns true if system call filter is installed (supported systems only)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • UNTRUSTED_CODEBASE

        public static final java.lang.String UNTRUSTED_CODEBASE
        codebase location for untrusted scripts (provide some additional safety)

        This is not a full URL, just a path.

        See Also:
        Constant Field Values
    • Method Detail

      • isNativesAvailable

        public static boolean isNativesAvailable()
        Returns true if we successfully loaded native libraries.

        If this returns false, then native operations such as locking memory did not work.

      • isMemoryLocked

        public static boolean isMemoryLocked()
        Returns true if we were able to lock the process's address space.
      • isSystemCallFilterInstalled

        public static boolean isSystemCallFilterInstalled()
        Returns true if system call filter is installed (supported systems only)
      • getSystemProperties

        public static java.util.Dictionary<java.lang.Object,​java.lang.Object> getSystemProperties()
        Returns a read-only view of all system properties
      • init

        public static void init()