-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8350263: JvmciNotifyBootstrapFinishedEventTest intermittently times out #23679
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
Conversation
|
👋 Welcome back dnsimon! A progress list of the required criteria for merging this PR into |
|
@dougxc This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
| ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder( | ||
| "-XX:+UnlockExperimentalVMOptions", | ||
| "-XX:+UseJVMCICompiler", "-Djvmci.Compiler=ErrorCompiler", | ||
| "-XX:-UseJVMCINativeLibrary", |
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.
do we support this in a jdk build?
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.
Not sure I understand the question: UseJVMCINativeLibrary is a JVMCI flag just like all other JVMCI flags.
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.
IIUC -UseJVMCINativeLibrary will not use libjvmcicompiler.so but we don't include any Graal java class in jmods/jdk.graal.compiler.jmod, then what does it run?
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.
The -Djvmci.Compiler=ErrorCompiler option specifies a different compiler implementation.
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.
I see now. So +UseJVMCINativeLibrary overrides -Djvmci.Compiler=ErrorCompiler and that is why we have to explicitly specify -UseJVMCINativeLibrary?
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.
Yes. Without specifying -UseJVMCINativeLibrary, you get this error:
Cannot use JVMCI compiler: JVMCI compiler 'ErrorCompiler' not found in JVMCI native library.
Use -XX:-UseJVMCINativeLibrary when specifying a JVMCI compiler available on a class path with jvmci.Compiler.
|
Thanks for the reviews. /integrate |
|
@dougxc An unexpected error occurred during integration. No push attempt will be made. The error has been logged and will be investigated. It is possible that this error is caused by a transient issue; feel free to retry the operation. |
|
/integrate |
JDK-8346781 changed
JVMCIServiceLocatorsuch that the set of providers is computed eagerly inJVMCIServiceLocator.<clinit>. There are some JVMCI test classes that directly subclassJVMCIServiceLocatorwhich means deadlock could occur between the main thread running the test and a JVMCI compiler thread. This PR fixes this by ensuring thatJVMCIServiceLocatorproviders are separate classes from the main test class.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/23679/head:pull/23679$ git checkout pull/23679Update a local copy of the PR:
$ git checkout pull/23679$ git pull https://git.openjdk.org/jdk.git pull/23679/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 23679View PR using the GUI difftool:
$ git pr show -t 23679Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/23679.diff
Using Webrev
Link to Webrev Comment