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