Interface MemorySizeProperties

    • Method Detail

      • pageSize

        int pageSize()
        Returns the system's memory "page size" (whatever that may be exactely for a given system). Use with care (and the dependency to a system value in mind!).
        Returns:
        the system's memory "page size".
      • byteSizeReference

        int byteSizeReference()
      • byteSizeInstance

        int byteSizeInstance​(Class<?> type)
      • byteSizeObjectHeader

        int byteSizeObjectHeader​(Class<?> type)
      • byteSizeFieldValue

        default int byteSizeFieldValue​(Field field)
      • byteSizeFieldValue

        int byteSizeFieldValue​(Class<?> type)
      • byteSizeArray_byte

        long byteSizeArray_byte​(long elementCount)
      • byteSizeArray_boolean

        long byteSizeArray_boolean​(long elementCount)
      • byteSizeArray_short

        long byteSizeArray_short​(long elementCount)
      • byteSizeArray_char

        long byteSizeArray_char​(long elementCount)
      • byteSizeArray_int

        long byteSizeArray_int​(long elementCount)
      • byteSizeArray_float

        long byteSizeArray_float​(long elementCount)
      • byteSizeArray_long

        long byteSizeArray_long​(long elementCount)
      • byteSizeArray_double

        long byteSizeArray_double​(long elementCount)
      • byteSizeArrayObject

        long byteSizeArrayObject​(long elementCount)