Class RPmallocThreadStatistics.span_use

  • All Implemented Interfaces:
    Enclosing class:

    public static class RPmallocThreadStatistics.span_use
    extends Struct

    Member documentation

    • current – Currently used number of spans
    • peak – High water mark of spans used
    • to_global – Number of spans transitioned to global cache
    • from_global – Number of spans transitioned from global cache
    • to_cache – Number of spans transitioned to thread cache
    • from_cache – Number of spans transitioned from thread cache
    • to_reserved – Number of spans transitioned to reserved state
    • from_reserved – Number of spans transitioned from reserved state
    • map_calls – Number of raw memory map calls (not hitting the reserve spans but resulting in actual OS mmap calls)


     struct {
         size_t current;
         size_t peak;
         size_t to_global;
         size_t from_global;
         size_t to_cache;
         size_t from_cache;
         size_t to_reserved;
         size_t from_reserved;
         size_t map_calls;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • span_use

        public span_use​(java.nio.ByteBuffer container)
        Creates a span_use instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.

    • Method Detail

      • sizeof

        public int sizeof()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • current

        public long current()
        Returns the value of the current field.
      • peak

        public long peak()
        Returns the value of the peak field.
      • to_global

        public long to_global()
        Returns the value of the to_global field.
      • from_global

        public long from_global()
        Returns the value of the from_global field.
      • to_cache

        public long to_cache()
        Returns the value of the to_cache field.
      • from_cache

        public long from_cache()
        Returns the value of the from_cache field.
      • to_reserved

        public long to_reserved()
        Returns the value of the to_reserved field.
      • from_reserved

        public long from_reserved()
        Returns the value of the from_reserved field.
      • map_calls

        public long map_calls()
        Returns the value of the map_calls field.
      • ncurrent

        public static long ncurrent​(long struct)
        Unsafe version of current().
      • npeak

        public static long npeak​(long struct)
        Unsafe version of peak().
      • nto_global

        public static long nto_global​(long struct)
        Unsafe version of to_global().
      • nfrom_global

        public static long nfrom_global​(long struct)
        Unsafe version of from_global().
      • nto_cache

        public static long nto_cache​(long struct)
        Unsafe version of to_cache().
      • nfrom_cache

        public static long nfrom_cache​(long struct)
        Unsafe version of from_cache().
      • nto_reserved

        public static long nto_reserved​(long struct)
        Unsafe version of to_reserved().
      • nfrom_reserved

        public static long nfrom_reserved​(long struct)
        Unsafe version of from_reserved().
      • nmap_calls

        public static long nmap_calls​(long struct)
        Unsafe version of map_calls().