Class AbstractHistogramBase

  • Direct Known Subclasses:
    AbstractHistogram

    abstract class AbstractHistogramBase
    extends EncodableHistogram
    This non-public AbstractHistogramBase super-class separation is meant to bunch "cold" fields separately from "hot" fields, in an attempt to force the JVM to place the (hot) fields commonly used in the value recording code paths close together. Subclass boundaries tend to be strongly control memory layout decisions in most practical JVM implementations, making this an effective method for control filed grouping layout.
    • Field Detail

      • constructionIdentityCount

        static java.util.concurrent.atomic.AtomicLong constructionIdentityCount
      • identity

        long identity
      • autoResize

        volatile boolean autoResize
      • highestTrackableValue

        long highestTrackableValue
      • lowestDiscernibleValue

        long lowestDiscernibleValue
      • numberOfSignificantValueDigits

        int numberOfSignificantValueDigits
      • bucketCount

        int bucketCount
      • subBucketCount

        int subBucketCount
        Power-of-two length of linearly scaled array slots in the counts array. Long enough to hold the first sequence of entries that must be distinguished by a single unit (determined by configured precision).
      • countsArrayLength

        int countsArrayLength
      • wordSizeInBytes

        int wordSizeInBytes
      • startTimeStampMsec

        long startTimeStampMsec
      • endTimeStampMsec

        long endTimeStampMsec
      • tag

        java.lang.String tag
      • integerToDoubleValueConversionRatio

        double integerToDoubleValueConversionRatio
      • doubleToIntegerValueConversionRatio

        double doubleToIntegerValueConversionRatio
      • intermediateUncompressedByteBuffer

        java.nio.ByteBuffer intermediateUncompressedByteBuffer
      • intermediateUncompressedByteArray

        byte[] intermediateUncompressedByteArray
    • Constructor Detail

      • AbstractHistogramBase

        AbstractHistogramBase()
    • Method Detail

      • getIntegerToDoubleValueConversionRatio

        double getIntegerToDoubleValueConversionRatio()
      • getDoubleToIntegerValueConversionRatio

        double getDoubleToIntegerValueConversionRatio()
      • nonConcurrentSetIntegerToDoubleValueConversionRatio

        void nonConcurrentSetIntegerToDoubleValueConversionRatio​(double integerToDoubleValueConversionRatio)
      • setIntegerToDoubleValueConversionRatio

        abstract void setIntegerToDoubleValueConversionRatio​(double integerToDoubleValueConversionRatio)