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
Merge JITServer changes to CompilationThread.cpp/hpp #7454
Conversation
323178b
to
f09025a
Compare
Jenkins test sanity all jdk8,jdk11 |
Jenkins test sanity plinux jdk8,jdk11 |
@ymanton This is a relatively difficult PR to review because I did a little bit of restructuring. The vast majority of the changes are in CompilationThread.cpp though. |
Jenkins test sanity aix jdk8,jdk11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of it looks OK. My concentration started to fail in CompilationThread.cpp, but I'll try to give it one more pass later.
f09025a
to
8a69368
Compare
@ymanton I addressed all the review comments and pushed the new version. |
8a69368
to
5b32342
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Jenkins test sanity.functional all jdk8,jdk11 |
So, that test was not there for nothing. I wonder under what conditions we hit this. |
So, looking at the code the JIT will call compilationEnd() to fail compilations it has no intent to compile. For instance, when purging the compilation queue because the JVM is shutting down, when all compilation threads are suspended or when we don't want to compile anymore (e.g. virtual address space is running low). |
It looks like the existing |
5b32342
to
9ae5b48
Compare
I updated the code to allow for the possibility of |
Jenkins test sanity.functional all jdk8,jdk11 |
96fb171
to
34e956e
Compare
Jenkins test sanity.functional all jdk8,jdk11 |
Testing has passed. |
More issues discovered in the jitaas branch. The |
Signed-off-by: Marius Pirvu <mpirvu@ca.ibm.com>
34e956e
to
ac10cd3
Compare
Jenkins test sanity all jdk8,jdk11 |
Jenkins test sanity zlinux jdk11 |
Jenkins test sanity win jdk8 |
Tests passed on all platforms except win64 which has some infra problem:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Signed-off-by: Marius Pirvu mpirvu@ca.ibm.com