-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when tracing DinerPhilosophers #253
Comments
@clementbera not sure this is needed. Did you discuss this with @daumayr? |
At least the TruffleBoundary is needed in isKindOf, no? |
Looking at I would prefer (following SClass.lookupClass):
Generally, I would like if things are treated similar to how we do it in surrounding code. It is also strange that |
I don't remember what code we ran to make the problem happen. Dominik showed me the tracing from the dev branch, I have these 2 changes on my dev branch that were required to make it work on my machine, we traced DiningPhilosophers as a demo. I can investigate why there was a problem with isKindOf:, but I might be better close this issue and do something else since Dom new tracing logic will replace this one and I am not sure I can reproduce. |
Adding the
would still be an improvement. Because there is indeed a PE issue (since it is recursive). And this communicates it more clearly. |
The Bytebuffer changes are unnecessary, there was a Java 10 issue. |
Ok, can we do this as part of all the changes for the new actor tracing? |
I will integrate the necessary changes |
Ok, thanks. I think we can close this issue once the changes are in. |
I tried to trace with Dom DinerPhilosophers.
On my machine, I got errors with ByteBuffers:
java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit
Same thing with a few other methods. It seems to be a jdk bug (ByteBuffers reimplements those methods with low level API which are unsupported with some drivers).
I've also add a partial evaluation error (It could not trace through isKindOf: since the recursion is too deep).
PR incoming.
The text was updated successfully, but these errors were encountered: