Module openj9.dtfj

Interface ImageProcess

    • Method Detail

      • getThreads

        Iterator getThreads()
        Get the set of image threads in the image.
        Returns:
        an iterator to iterate over each ImageThread in the image There is not necessarily any relationship between JavaThreads and ImageThreads. A JVM implementation may use an n:m mapping of JavaThreads to ImageThreads, and not all ImageThreads are necessarily attached.
        See Also:
        ImageThread, CorruptData
      • getCurrentThread

        ImageThread getCurrentThread()
                              throws CorruptDataException
        Find the thread which triggered the creation of the image
        Returns:
        the ImageThread which caused the image to be created, or null if the image was not created due to a specific thread
        Throws:
        CorruptDataException
        See Also:
        ImageThread
      • getRuntimes

        Iterator getRuntimes()
        Get the set of the known ManagedRuntime environments in the image.
        Returns:
        an iterator to iterate over all of the known ManagedRuntime environments in the image. In a typical image, there will be only one runtime, and it will be an instance of JavaRuntime. However any user of this API should be aware that there is a possibility that other runtimes may exist in the image
        See Also:
        ManagedRuntime, JavaRuntime, CorruptData
      • getSignalNumber

        int getSignalNumber()
                     throws DataUnavailable,
                            CorruptDataException
        Get the OS signal number in this process which triggered the creation of this image.
        Returns:
        the OS signal number in this process which triggered the creation of this image, or 0 if the image was not created because of a signal in this process
        Throws:
        DataUnavailable - if the information cannot be provided
        CorruptDataException
      • getSignalName

        String getSignalName()
                      throws DataUnavailable,
                             CorruptDataException
        Get the name of the OS signal in this process which triggered the creation of this image.
        Returns:
        the name of the OS signal in this process which triggered the creation of this image, or null if the image was not created because of a signal in this process
        Throws:
        DataUnavailable - if the information cannot be provided
        CorruptDataException
      • getPointerSize

        int getPointerSize()
        Determine the pointer size used by this process. Currently supported values are 31, 32 or 64. In the future, other pointer sizes may also be supported.
        Returns:
        the size of a pointer, in bits
      • getProperties

        Properties getProperties()
        Gets the OS specific properties for this process.
        Returns:
        a set of OS specific properties
        Since:
        1.7