Concurrent Truffle languages and creating threads
Arthur Peters
amp at cs.utexas.edu
Thu Sep 28 15:48:22 UTC 2017
I am implementing a language (Orc) which uses a thread pool for
execution (meaning any program running in this language will always use
the thread pool). The change log for GraalVM 0.28 says that creating
threads using j.l.Thread is deprecated.
Does this mean that my thread pool should use
TruffleLanguage.Env.createThread?
Or is createThread only required for specific cases?
(Currently I use a Thread subclass for the worker threads in my thread
pool, so switching to createThread would require significant refactoring.)
-Arthur
More information about the graal-dev
mailing list