Class ThreadLocalAction.Access
java.lang.Object
com.oracle.truffle.api.ThreadLocalAction.Access
- Enclosing class:
ThreadLocalAction
Argument class for
ThreadLocalAction.perform(Access)
.- Since:
- 21.1
-
Constructor Details
-
Access
-
Access
protected Access(org.graalvm.polyglot.impl.AbstractPolyglotImpl secret) Constructor for framework use only.- Since:
- 21.1
-
-
Method Details
-
getLocation
Returns the current node location executing on this thread. The return value is guaranteed to be non-null.- Since:
- 21.1
-
getThread
Returns the thread where this thread local action is running on. Currently this always returnsThread.currentThread()
. See the safepoint tutorial for further details on our plans.- Since:
- 21.1
-