Companion

object Companion

Functions

Link copied to clipboard
fun combine2(i1: Int, i2: Int): Int

Combine two hash values into one. If two values are truly being combined, to avoid systematic collisions it might be best to use combine3() instead, with a usage-specific constant,

Link copied to clipboard
fun combine3(    i1: Int,     i2: Int,     i3: Int): Int

Combine multiple hash values into one. To avoid systematic collisions, one of these should be a usage-specific constant salt.

Link copied to clipboard
fun combine4(    i1: Int,     i2: Int,     i3: Int,     i4: Int): Int

Combine multiple hash values into one. To avoid systematic collisions, one of these should be a usage-specific constant salt.

Link copied to clipboard
fun combine5(    i1: Int,     i2: Int,     i3: Int,     i4: Int,     i5: Int): Int

Combine multiple hash values into one. To avoid systematic collisions, one of these should be a usage-specific constant salt.

Link copied to clipboard
fun combine6(    i1: Int,     i2: Int,     i3: Int,     i4: Int,     i5: Int,     i6: Int): Int

Combine multiple hash values into one. To avoid systematic collisions, one of these should be a usage-specific constant salt.

Link copied to clipboard
fun combine7(    i1: Int,     i2: Int,     i3: Int,     i4: Int,     i5: Int,     i6: Int,     i7: Int): Int

Combine multiple hash values into one. To avoid systematic collisions, one of these should be a usage-specific constant salt.

Link copied to clipboard
fun error(messagePattern: String?, vararg arguments: Any?): Nothing

Report a virtual machine problem.

Link copied to clipboard
fun frameAtPut(    self: AvailObject,     index: Int,     value: AvailObject): AvailObject
Link copied to clipboard
fun frameAtPut2(    self: AvailObject,     index1: Int,     value1: AvailObject,     index2: Int,     value2: AvailObject): AvailObject
Link copied to clipboard
fun frameAtPut3(    self: AvailObject,     index1: Int,     value1: AvailObject,     index2: Int,     value2: AvailObject,     index3: Int,     value3: AvailObject): AvailObject
Link copied to clipboard
fun frameAtPut4(    self: AvailObject,     index1: Int,     value1: AvailObject,     index2: Int,     value2: AvailObject,     index3: Int,     value3: AvailObject,     index4: Int,     value4: AvailObject): AvailObject
Link copied to clipboard
fun frameAtPut5(    self: AvailObject,     index1: Int,     value1: AvailObject,     index2: Int,     value2: AvailObject,     index3: Int,     value3: AvailObject,     index4: Int,     value4: AvailObject,     index5: Int,     value5: AvailObject): AvailObject
Link copied to clipboard
fun frameAtPut6(    self: AvailObject,     index1: Int,     value1: AvailObject,     index2: Int,     value2: AvailObject,     index3: Int,     value3: AvailObject,     index4: Int,     value4: AvailObject,     index5: Int,     value5: AvailObject,     index6: Int,     value6: AvailObject): AvailObject
Link copied to clipboard
fun frameAtStatic(self: AvailObject, index: Int): AvailObject
Link copied to clipboard
fun newIndexedDescriptor(size: Int, descriptor: AbstractDescriptor): AvailObject

Create a new AvailObject with the specified descriptor and the same number of variable object and integer slots.

Link copied to clipboard
fun newObjectIndexedIntegerIndexedDescriptor(    variableObjectSlots: Int,     variableIntegerSlots: Int,     descriptor: AbstractDescriptor): AvailObject

Create a new AvailObject with the specified descriptor, the specified number of object slots, and the specified number of integer slots.

Link copied to clipboard
fun registerDumpStatic(self: AvailObject): AvailObject

Properties

Link copied to clipboard
val fieldAtIndexMethod: CheckedMethod

Access the fieldAtIndex method for objects.

Link copied to clipboard
val fieldAtMethod: CheckedMethod

Access the fieldAt method.

Link copied to clipboard
val fieldTypeAtIndexMethod: CheckedMethod

Access the fieldTypeAtIndex method for object types.

Link copied to clipboard
val fieldTypeAtMethod: CheckedMethod

Access the fieldTypeAt method.

Link copied to clipboard
val frameAtMethod: CheckedMethod

Access the frameAtStatic method.

Link copied to clipboard
val frameAtPut2Method: CheckedMethod

Access the frameAtPut2 method.

Link copied to clipboard
val frameAtPut3Method: CheckedMethod

Access the frameAtPut3 method.

Link copied to clipboard
val frameAtPut4Method: CheckedMethod

Access the frameAtPut4 method.

Link copied to clipboard
val frameAtPut5Method: CheckedMethod

Access the frameAtPut5 method.

Link copied to clipboard
val frameAtPut6Method: CheckedMethod

Access the frameAtPut6 method.

Link copied to clipboard
val frameAtPutMethod: CheckedMethod

Access the frameAtPut method.

Link copied to clipboard
val iteratorMethod: CheckedMethod
Link copied to clipboard
const val multiplier: Int = 1664525

A good multiplier for a multiplicative random generator. This constant is a primitive element of the group (Z[2^32], *), specifically 1664525, as taken from Knuth, The Art of Computer Programming, Vol. 2, 2nd ed., page 102, row 26. See also pages 19, 20, theorems B and C. The period of the cycle based on this multiplicative generator is 2^30.

Link copied to clipboard
val registerDumpMethod: CheckedMethod

Access the registerDumpStatic method.