# Unsafe

# Unsafe

Artifact:[androidx.performance:performance-unsafe](https://developer.android.com/jetpack/androidx/releases/performance)  
[View Source](https://cs.android.com/search?q=file:sun/misc/Unsafe.java+class:sun.misc.Unsafe)  
Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/sun/misc/Unsafe "View this page in Java")

<br />

```
class Unsafe
```

<br />

*** ** * ** ***

## Summary

|                                    ### Constants                                    |
|-------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [INVALID_FIELD_OFFSET](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#INVALID_FIELD_OFFSET())` = -1` |

|                                     ### Public functions                                     |
|----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `native `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [addressSize](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#addressSize())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `native `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!`      | [allocateInstance](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#allocateInstance(java.lang.Class<?>))`(c: `[Class](https://developer.android.com/reference/java/lang/Class.html)`<`[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!>!)`                                                                                                                                                                                                                                                                        |
| `native `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)       | [allocateMemory](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#allocateMemory(long))`(bytes: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                                                                                                               |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                  | [arrayBaseOffset](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#arrayBaseOffset(java.lang.Class<?>))`(clazz: `[Class](https://developer.android.com/reference/java/lang/Class.html)`<`[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!>!)`                                                                                                                                                                                                                                                                      |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                  | [arrayIndexScale](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#arrayIndexScale(java.lang.Class<?>))`(clazz: `[Class](https://developer.android.com/reference/java/lang/Class.html)`<`[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!>!)`                                                                                                                                                                                                                                                                      |
| `native `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [compareAndSwapInt](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#compareAndSwapInt(java.lang.Object,long,int,int))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, expectedValue: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`, newValue: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)`                                                   |
| `native `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [compareAndSwapLong](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#compareAndSwapLong(java.lang.Object,long,long,long))`(` ` obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!,` ` offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` expectedValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` newValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) `)`                             |
| `native `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [compareAndSwapObject](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#compareAndSwapObject(java.lang.Object,long,java.lang.Object,java.lang.Object))`(` ` obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!,` ` offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` expectedValue: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!,` ` newValue: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!` `)` |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [copyMemory](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#copyMemory(long,long,long))`(srcAddr: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, dstAddr: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, bytes: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                         |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [copyMemoryFromPrimitiveArray](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#copyMemoryFromPrimitiveArray(java.lang.Object,long,long,long))`(` ` src: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!,` ` srcOffset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` dstAddr: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` bytes: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) `)`               |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [copyMemoryToPrimitiveArray](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#copyMemoryToPrimitiveArray(long,java.lang.Object,long,long))`(` ` srcAddr: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` dst: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!,` ` dstOffset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`,` ` bytes: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) `)`                   |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [freeMemory](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#freeMemory(long))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                                                                                                                     |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [fullFence](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#fullFence())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                  | [getAndAddInt](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getAndAddInt(java.lang.Object,long,int))`(o: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, delta: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)`                                                                                                                                                                    |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                | [getAndAddLong](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getAndAddLong(java.lang.Object,long,long))`(o: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, delta: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                               |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                  | [getAndSetInt](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getAndSetInt(java.lang.Object,long,int))`(o: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)`                                                                                                                                                                 |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                | [getAndSetLong](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getAndSetLong(java.lang.Object,long,long))`(o: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                            |
| [Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!`               | [getAndSetObject](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getAndSetObject(java.lang.Object,long,java.lang.Object))`(o: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!)`                                                                                                                                             |
| `native `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [getBoolean](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getBoolean(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                |
| `native `[Byte](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html)       | [getByte](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getByte(long))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                                                                                                                           |
| `native `[Byte](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html)       | [getByte](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getByte(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                      |
| `native `[Char](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char/index.html)       | [getChar](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getChar(long))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                                                                                                                           |
| `native `[Char](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char/index.html)       | [getChar](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getChar(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                      |
| `native `[Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)   | [getDouble](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getDouble(long))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                                                                                                                       |
| `native `[Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)   | [getDouble](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getDouble(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                  |
| `native `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)     | [getFloat](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getFloat(long))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                                                                                                                         |
| `native `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)     | [getFloat](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getFloat(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                    |
| `native `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [getInt](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getInt(long))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                                                                                                                             |
| `native `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [getInt](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getInt(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                        |
| `native `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [getIntVolatile](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getIntVolatile(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                        |
| `native `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)       | [getLong](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getLong(long))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                                                                                                                           |
| `native `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)       | [getLong](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getLong(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                      |
| `native `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)       | [getLongVolatile](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getLongVolatile(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                      |
| `native `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!`      | [getObject](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getObject(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                  |
| `native `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!`      | [getObjectVolatile](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getObjectVolatile(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                  |
| `native `[Short](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-short/index.html)     | [getShort](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getShort(long))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                                                                                                                         |
| `native `[Short](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-short/index.html)     | [getShort](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getShort(java.lang.Object,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                    |
| `java-static `[Unsafe](https://developer.android.com/reference/kotlin/sun/misc/Unsafe)`!`    | [getUnsafe](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#getUnsafe())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [loadFence](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#loadFence())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                | [objectFieldOffset](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#objectFieldOffset(java.lang.reflect.Field))`(field: `[Field](https://developer.android.com/reference/java/lang/reflect/Field.html)`!)`                                                                                                                                                                                                                                                                                                                                     |
| `native `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [pageSize](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#pageSize())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                | [park](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#park(boolean,long))`(absolute: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`, time: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                           |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putBoolean](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putBoolean(java.lang.Object,long,boolean))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)`                                                                                                                                                       |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putByte](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putByte(long,byte))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, x: `[Byte](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html)`)`                                                                                                                                                                                                                                                                                  |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putByte](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putByte(java.lang.Object,long,byte))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Byte](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html)`)`                                                                                                                                                                      |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putChar](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putChar(long,char))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, x: `[Char](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char/index.html)`)`                                                                                                                                                                                                                                                                                  |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putChar](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putChar(java.lang.Object,long,char))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Char](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char/index.html)`)`                                                                                                                                                                      |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putDouble](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putDouble(long,double))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, x: `[Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)`)`                                                                                                                                                                                                                                                                        |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putDouble](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putDouble(java.lang.Object,long,double))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)`)`                                                                                                                                                            |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putFloat](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putFloat(long,float))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, x: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)`                                                                                                                                                                                                                                                                             |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putFloat](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putFloat(java.lang.Object,long,float))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)`                                                                                                                                                                 |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putInt](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putInt(long,int))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, x: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)`                                                                                                                                                                                                                                                                                       |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putInt](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putInt(java.lang.Object,long,int))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)`                                                                                                                                                                           |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putIntVolatile](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putIntVolatile(java.lang.Object,long,int))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)`                                                                                                                                                           |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putLong](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putLong(long,long))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, x: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                                                                                                                                  |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putLong](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putLong(java.lang.Object,long,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                                      |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putLongVolatile](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putLongVolatile(java.lang.Object,long,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                      |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putObject](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putObject(java.lang.Object,long,java.lang.Object))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!)`                                                                                                                                                       |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putObjectVolatile](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putObjectVolatile(java.lang.Object,long,java.lang.Object))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!)`                                                                                                                                       |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putOrderedInt](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putOrderedInt(java.lang.Object,long,int))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)`                                                                                                                                                             |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putOrderedLong](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putOrderedLong(java.lang.Object,long,long))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)`                                                                                                                                                        |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putOrderedObject](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putOrderedObject(java.lang.Object,long,java.lang.Object))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!)`                                                                                                                                         |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putShort](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putShort(long,short))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, x: `[Short](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-short/index.html)`)`                                                                                                                                                                                                                                                                             |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [putShort](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#putShort(java.lang.Object,long,short))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!, offset: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, newValue: `[Short](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-short/index.html)`)`                                                                                                                                                                 |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [setMemory](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#setMemory(long,long,byte))`(address: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, bytes: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, value: `[Byte](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html)`)`                                                                                                                                                                             |
| `native `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)       | [storeFence](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#storeFence())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                | [unpark](https://developer.android.com/reference/kotlin/sun/misc/Unsafe#unpark(java.lang.Object))`(obj: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`!)`                                                                                                                                                                                                                                                                                                                                                                      |

## Constants

### INVALID_FIELD_OFFSET

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
const val INVALID_FIELD_OFFSET = -1: Int
```  

## Public functions

### addressSize

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun addressSize(): Int
```  

### allocateInstance

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun allocateInstance(c: Class<Any!>!): Any!
```  

### allocateMemory

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun allocateMemory(bytes: Long): Long
```  

### arrayBaseOffset

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
fun arrayBaseOffset(clazz: Class<Any!>!): Int
```  

### arrayIndexScale

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
fun arrayIndexScale(clazz: Class<Any!>!): Int
```  

### compareAndSwapInt

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun compareAndSwapInt(obj: Any!, offset: Long, expectedValue: Int, newValue: Int): Boolean
```  

### compareAndSwapLong

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun compareAndSwapLong(
    obj: Any!,
    offset: Long,
    expectedValue: Long,
    newValue: Long
): Boolean
```  

### compareAndSwapObject

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun compareAndSwapObject(
    obj: Any!,
    offset: Long,
    expectedValue: Any!,
    newValue: Any!
): Boolean
```  

### copyMemory

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun copyMemory(srcAddr: Long, dstAddr: Long, bytes: Long): Unit
```  

### copyMemoryFromPrimitiveArray

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun copyMemoryFromPrimitiveArray(
    src: Any!,
    srcOffset: Long,
    dstAddr: Long,
    bytes: Long
): Unit
```  

### copyMemoryToPrimitiveArray

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun copyMemoryToPrimitiveArray(
    srcAddr: Long,
    dst: Any!,
    dstOffset: Long,
    bytes: Long
): Unit
```  

### freeMemory

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun freeMemory(address: Long): Unit
```  

### fullFence

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun fullFence(): Unit
```  

### getAndAddInt

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
fun getAndAddInt(o: Any!, offset: Long, delta: Int): Int
```  

### getAndAddLong

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
fun getAndAddLong(o: Any!, offset: Long, delta: Long): Long
```  

### getAndSetInt

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
fun getAndSetInt(o: Any!, offset: Long, newValue: Int): Int
```  

### getAndSetLong

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
fun getAndSetLong(o: Any!, offset: Long, newValue: Long): Long
```  

### getAndSetObject

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
fun getAndSetObject(o: Any!, offset: Long, newValue: Any!): Any!
```  

### getBoolean

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getBoolean(obj: Any!, offset: Long): Boolean
```  

### getByte

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getByte(address: Long): Byte
```  

### getByte

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getByte(obj: Any!, offset: Long): Byte
```  

### getChar

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getChar(address: Long): Char
```  

### getChar

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getChar(obj: Any!, offset: Long): Char
```  

### getDouble

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getDouble(address: Long): Double
```  

### getDouble

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getDouble(obj: Any!, offset: Long): Double
```  

### getFloat

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getFloat(address: Long): Float
```  

### getFloat

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getFloat(obj: Any!, offset: Long): Float
```  

### getInt

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getInt(address: Long): Int
```  

### getInt

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getInt(obj: Any!, offset: Long): Int
```  

### getIntVolatile

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getIntVolatile(obj: Any!, offset: Long): Int
```  

### getLong

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getLong(address: Long): Long
```  

### getLong

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getLong(obj: Any!, offset: Long): Long
```  

### getLongVolatile

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getLongVolatile(obj: Any!, offset: Long): Long
```  

### getObject

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getObject(obj: Any!, offset: Long): Any!
```  

### getObjectVolatile

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getObjectVolatile(obj: Any!, offset: Long): Any!
```  

### getShort

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getShort(address: Long): Short
```  

### getShort

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun getShort(obj: Any!, offset: Long): Short
```  

### getUnsafe

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
java-static fun getUnsafe(): Unsafe!
```  

### loadFence

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun loadFence(): Unit
```  

### objectFieldOffset

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
fun objectFieldOffset(field: Field!): Long
```  

### pageSize

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun pageSize(): Int
```  

### park

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
fun park(absolute: Boolean, time: Long): Unit
```  

### putBoolean

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putBoolean(obj: Any!, offset: Long, newValue: Boolean): Unit
```  

### putByte

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putByte(address: Long, x: Byte): Unit
```  

### putByte

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putByte(obj: Any!, offset: Long, newValue: Byte): Unit
```  

### putChar

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putChar(address: Long, x: Char): Unit
```  

### putChar

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putChar(obj: Any!, offset: Long, newValue: Char): Unit
```  

### putDouble

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putDouble(address: Long, x: Double): Unit
```  

### putDouble

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putDouble(obj: Any!, offset: Long, newValue: Double): Unit
```  

### putFloat

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putFloat(address: Long, x: Float): Unit
```  

### putFloat

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putFloat(obj: Any!, offset: Long, newValue: Float): Unit
```  

### putInt

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putInt(address: Long, x: Int): Unit
```  

### putInt

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putInt(obj: Any!, offset: Long, newValue: Int): Unit
```  

### putIntVolatile

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putIntVolatile(obj: Any!, offset: Long, newValue: Int): Unit
```  

### putLong

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putLong(address: Long, x: Long): Unit
```  

### putLong

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putLong(obj: Any!, offset: Long, newValue: Long): Unit
```  

### putLongVolatile

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putLongVolatile(obj: Any!, offset: Long, newValue: Long): Unit
```  

### putObject

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putObject(obj: Any!, offset: Long, newValue: Any!): Unit
```  

### putObjectVolatile

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putObjectVolatile(obj: Any!, offset: Long, newValue: Any!): Unit
```  

### putOrderedInt

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putOrderedInt(obj: Any!, offset: Long, newValue: Int): Unit
```  

### putOrderedLong

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putOrderedLong(obj: Any!, offset: Long, newValue: Long): Unit
```  

### putOrderedObject

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putOrderedObject(obj: Any!, offset: Long, newValue: Any!): Unit
```  

### putShort

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putShort(address: Long, x: Short): Unit
```  

### putShort

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun putShort(obj: Any!, offset: Long, newValue: Short): Unit
```  

### setMemory

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun setMemory(address: Long, bytes: Long, value: Byte): Unit
```  

### storeFence

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
native fun storeFence(): Unit
```  

### unpark

Added in[1.0.0-alpha01](https://developer.android.com/jetpack/androidx/releases/performance#1.0.0-alpha01)  

```
fun unpark(obj: Any!): Unit
```