BlobArray

final class BlobArray extends Array[Byte]

Implementation of Array[Byte] potentially containing pointers to other GC allocated objects. Unlike ByteArray it is conservatively scanned. When running with Immix or Commix GC allows to set scannableLimit of maximal number of bytes to scan.

Companion:
object
class Array[Byte]
trait Cloneable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def clone(): BlobArray
Definition Classes

Maximal number of elements to scan by the garbage collector (best effort)

Maximal number of elements to scan by the garbage collector (best effort)

Set maximal number of elements to scan by the garbage collector (best effort), new limit needs to smaller or equal to length of array

Set maximal number of elements to scan by the garbage collector (best effort), new limit needs to smaller or equal to length of array

Set maximal number of elements to scan by the garbage collector (best effort), new limit needs to smaller or equal to length of array. This version of scannableLimit setter is not checking the bound of argument.

Set maximal number of elements to scan by the garbage collector (best effort), new limit needs to smaller or equal to length of array. This version of scannableLimit setter is not checking the bound of argument.

def update(i: Int, value: Byte): Unit

Set maximal number of elements to scan by the garbage collector (best effort), new limit needs to smaller or equal to length of array

Set maximal number of elements to scan by the garbage collector (best effort), new limit needs to smaller or equal to length of array

Inherited methods

def at(i: Int): Ptr[Byte]

Pointer to the element.

Pointer to the element.

Inherited from:
Array
def atUnsafe(i: Int): Ptr[Byte]

Pointer to the element without a bounds check.

Pointer to the element without a bounds check.

Inherited from:
Array
def length: Int

Number of elements of the array.

Number of elements of the array.

Inherited from:
Array