-
Notifications
You must be signed in to change notification settings - Fork 721
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
Pass separate JVM options to cmdLineTester #17109
Conversation
The existing cmdLineTester tests take options that are supposed to be passed into JVMs that the cmdLineTester invokes and also applies it to the JVM running cmdLineTester. This commit creates a new variable CMDLINETESTER_JVM_OPTIONS which is set to -Xshareclasses:none. This decouples the options under test from and also prevents situations where the JVM that's under test ends up generating a bad AOT method that the JVM runing cmdLineTester could load. Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
83757d0
to
853e714
Compare
@llxia could you please review? Also, do you know if PR builds will use the updated definitions from this PR or should I be launching a separate run elsewhere? I did some local testing, but I didn't run everything and on all platforms. |
lgtm |
jenkins test sanity,extended xlinux jdk11 |
I don't see how adding |
It's a bug in the test, caused by enabling shared classes by default. When creating a new shared cache verification is run. We can modify the tests to use -Xshareclasses:none, except for the "with -Xshareclasses" one, to keep the original intent. |
|
Enabling Shared Classes by default resulted in a bug in the bootstrap verification testing. This commit fixes this by adding -Xshareclasses:none. Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
Made the requested changes:
|
Running cmdLineTester_bootStrapStaticVerify,cmdLineTester_javaAssertions |
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.
Thanks @dsouzai
The existing cmdLineTester tests take options that are supposed to be passed into JVMs that the cmdLineTester invokes and also applies it to the JVM running cmdLineTester.
This PR adds a new variable
CMDLINETESTER_JVM_OPTIONS
which is set to-Xshareclasses:none
. This decouples the options under test from and also prevents situations where the JVM that's under test ends up generating a bad AOT method that the JVM running cmdLineTester could load.Closes #17095