Skip to content
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

-Xshareclasses option added to JAVA_TOOL_OPTIONS #430

Merged
merged 1 commit into from
Dec 6, 2020

Conversation

bharathappali
Copy link
Collaborator

#402 states that user might override the scc settings when he sets the ENV var OPENJ9_JAVA_OPTIONS. Ideally the user should be aware that he was overriding the ENV set by base image and add on top that but for a better user experience this PR adds the -Xshareclasses option to JAVA_TOOL_OPTIONS which is already being set.

@dinogun @karianna Can i have your views on this ?

PS: This PR is currently work in progress as this might not turn as the perfect solution for the problem stated in #402 . Raising this PR to make incremental changes based on the discussion happening in this thread.

Signed-off-by: bharathappali [email protected]

@bharathappali bharathappali changed the title WIP: -Xshareclasses option added to JAVA_TOOL_OPTIONS [WIP] : -Xshareclasses option added to JAVA_TOOL_OPTIONS Oct 5, 2020
@karianna karianna added the bug label Oct 6, 2020
@karianna karianna added this to the October 2020 milestone Oct 6, 2020
@karianna karianna marked this pull request as draft October 6, 2020 10:30
@karianna karianna modified the milestones: October 2020, November 2020 Nov 5, 2020
@mpirvu
Copy link

mpirvu commented Dec 1, 2020

Any update on this work item? Thank you

@karianna karianna modified the milestones: November 2020, December 2020 Dec 1, 2020
@karianna
Copy link
Member

karianna commented Dec 2, 2020

@bharathappali - there's a merge conflict...

@bharathappali bharathappali force-pushed the fix-env-scc branch 2 times, most recently from 5bce181 to 3e3001a Compare December 4, 2020 12:07
@bharathappali bharathappali changed the title [WIP] : -Xshareclasses option added to JAVA_TOOL_OPTIONS -Xshareclasses option added to JAVA_TOOL_OPTIONS Dec 4, 2020
@bharathappali
Copy link
Collaborator Author

@karianna I have resolved the merge conflicts. Can I please have your review?

Copy link
Member

@karianna karianna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - you can take this out of draft

@bharathappali bharathappali marked this pull request as ready for review December 6, 2020 07:10
@bharathappali
Copy link
Collaborator Author

Removed OPENJ9_JAVA_OPTIONS settings

Copy link
Collaborator

@dinogun dinogun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dinogun dinogun merged commit 5dbf800 into AdoptOpenJDK:master Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants