-
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
Tests added for the option -XX:[+/-]ShareAnonymousClasses and -XX:[+/-]ShareUnsafeClasses #7278
Conversation
4cd0885
to
3b7b0fc
Compare
Hi @hangshao0! Could you please review this change? Thank you so much! |
test/functional/cmdLineTests/shareClassTests/SCCMLTests/ShareClassesCMLTests-1.xml
Outdated
Show resolved
Hide resolved
test/functional/cmdLineTests/shareClassTests/SCCMLTests/exclude.xml
Outdated
Show resolved
Hide resolved
You may want to update this line as well: |
e85c603
to
a19d60c
Compare
@hangshao0 I have made the changes, please re-review, thank you! |
test/functional/cmdLineTests/shareClassTests/SCCMLTests/ShareClassesCMLTests-1.xml
Outdated
Show resolved
Hide resolved
Tests are fine, but only check basic functionality. Some other things to check:
|
9694d79
to
e02a814
Compare
Hi @pshipton, I have added some new tests, could you please review them, thank you! |
test/functional/cmdLineTests/shareClassTests/SCCMLTests/ShareClassesCMLTests-1.xml
Outdated
Show resolved
Hide resolved
test/functional/cmdLineTests/shareClassTests/SCCMLTests/ShareClassesCMLTests-1.xml
Outdated
Show resolved
Hide resolved
test/functional/cmdLineTests/utils2/src/org/openj9/test/classtests/ClassTest.java
Show resolved
Hide resolved
b4cd343
to
7faa65d
Compare
Hi @pshipton, I have updated the test, please review them, thanks! |
test/functional/cmdLineTests/shareClassTests/SCCMLTests/ShareClassesCMLTests-1.xml
Show resolved
Hide resolved
23d9818
to
5d913b0
Compare
Hi @pshipton , I have changed the files and tested the changes. Could you please review? Thank you so much! |
jenkins test sanity plinux jdk8,jdk11 |
@doomerxe please see the jdk8 test build failure |
The tests I made are for jdk 11 and up. I forgot to check the jdk version on the build.xml. I will fix it! |
c2d51c1
to
f49fd52
Compare
Hi @pshipton , I have fixed the issue and tested it on jdk8. It seems to be fine now. Could you please re-run the test? Thank you! |
jenkins test sanity plinux jdk8,jdk11 |
The jdk11 testing passed, the failure is a jenkins uploading to artifactory issue. |
@llxia can you please take a look at the test framework changes. |
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
@doomerxe one more tweak. Please update the commit comment to include the details you've added in the description of this PR. |
…UnsafeClasses Added the tests for options: -XX:+ShareAnonymousClasses -XX:-ShareAnonymousClasses -XX:+ShareUnsafeClasses -XX:-ShareUnsafeClasses for Java 11 and up Signed-off-by: Jiahan Xi <doomerXe@gmail.com>
PR testing passed. |
Forgot to approve the review officially, but I do. |
Added the tests for options
for Java 11 and up
Signed-off-by: Jiahan Xi doomerXe@gmail.com