Interface HotSpot


public interface HotSpot
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the number of safepoints taken place since the Java virtual machine started.
    long
    Returns the accumulated time spent getting to safepoints in milliseconds.
    long
    Returns the accumulated time spent at safepoints in milliseconds.
     
  • Method Details

    • loadImpl

      static Optional<HotSpot> loadImpl()
    • getSafepointCount

      long getSafepointCount()
      Returns the number of safepoints taken place since the Java virtual machine started.
      Returns:
      the number of safepoints taken place since the Java virtual machine started.
    • getTotalSafepointTimeMillis

      long getTotalSafepointTimeMillis()
      Returns the accumulated time spent at safepoints in milliseconds. This is the accumulated elapsed time that the application has been stopped for safepoint operations.
      Returns:
      the accumulated time spent at safepoints in milliseconds.
    • getSafepointSyncTimeMillis

      long getSafepointSyncTimeMillis()
      Returns the accumulated time spent getting to safepoints in milliseconds.
      Returns:
      the accumulated time spent getting to safepoints in milliseconds.