package com.oracle.svm.core.threadlocal;
import org.graalvm.nativeimage.IsolateThread;
import org.graalvm.nativeimage.Platform;
import org.graalvm.nativeimage.Platforms;
import org.graalvm.nativeimage.c.type.WordPointer;
import org.graalvm.word.WordBase;
@SuppressWarnings({"unused"})
public final class FastThreadLocalWord<T extends WordBase> extends FastThreadLocal {
@Platforms(Platform.HOSTED_ONLY.class)
FastThreadLocalWord() {
}
public T get() {
throw new IllegalArgumentException("Value of VM thread local variable cannot be accessed during native image generation");
}
public T get(IsolateThread thread) {
throw new IllegalArgumentException("Value of VM thread local variable cannot be accessed during native image generation");
}
public void set(T value) {
throw new IllegalArgumentException("Value of VM thread local variable cannot be accessed during native image generation");
}
public void set(IsolateThread thread, T value) {
throw new IllegalArgumentException("Value of VM thread local variable cannot be accessed during native image generation");
}
public T getVolatile() {
throw new IllegalArgumentException("Value of VM thread local variable cannot be accessed during native image generation");
}
public T getVolatile(IsolateThread thread) {
throw new IllegalArgumentException("Value of VM thread local variable cannot be accessed during native image generation");
}
public void setVolatile(T value) {
throw new IllegalArgumentException("Value of VM thread local variable cannot be accessed during native image generation");
}
public void setVolatile(IsolateThread thread, T value) {
throw new IllegalArgumentException("Value of VM thread local variable cannot be accessed during native image generation");
}
public boolean compareAndSet(T expect, T update) {
throw new IllegalArgumentException("Value of VM thread local variable cannot be accessed during native image generation");
}
public boolean compareAndSet(IsolateThread thread, T expect, T update) {
throw new IllegalArgumentException("Value of VM thread local variable cannot be accessed during native image generation");
}
@SuppressWarnings("static-method")
public WordPointer getAddress() {
throw new IllegalArgumentException("VM thread local variable cannot be accessed during native image generation");
}
@SuppressWarnings("static-method")
public WordPointer getAddress(IsolateThread thread) {
throw new IllegalArgumentException("VM thread local variable cannot be accessed during native image generation");
}
}