Replies: 1 comment
-
|
It could be just a bug or overengineering. Some time ago I enountered that sometimes ANTLR is freezing in multithread mode. I started investigating and noticed that IDEA warns that some code may cause deadlock. I fixed the code and it fixed the original problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Rewriting the Kotlin runtime taking the Java runtime as starting point, I've noticed that here and there it uses thread-safe utilities like synchronized blocks or
CopyOnWriteArrayLists.Looking for answers to "Is ANTLR thread safe?", we find:
So what's the point of using, for example, a
CopyOnWriteArrayList?What's the ANTLR team opinion on this subject?
Beta Was this translation helpful? Give feedback.
All reactions