-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[MINOR] Avoid passing the PermGenSize option to IBM JVMs. #6055
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
|
Can one of the admins verify this patch? |
|
Does it actually fail to start if it sees this option? |
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.
Minor: This doesn't have to have the elses and thus extra level or two of nesting.
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.
ACK
|
Jenkins, add to whitelist |
|
Merged build triggered. |
|
Merged build started. |
|
Test build #32398 has started for PR 6055 at commit |
|
The IBM VM will still start if passed -XX options that have no impact, so this is just being a good citizen in case that position changes in the future. There are other IBM JVM changes I have that are a bit more significant. Let me know if you want an umbrella JIRA to cover running on IBM Java. |
|
My only concern is complicating the code for args that don't actually cause a problem; I imagine any JVM should often be prepared to ignore |
|
Not for -XX args. I have some changes to SizeEstimator, endianness, etc. for correctness, and thinking of extending java-opts to allow for vendor specific args. We can discuss on dev list and/or JIRA. |
|
Test build #32398 has finished for PR 6055 at commit
|
|
Merged build finished. Test PASSed. |
|
Test PASSed. |
|
Merged build triggered. |
|
Merged build started. |
|
Test build #32497 has started for PR 6055 at commit |
|
Test build #32497 has finished for PR 6055 at commit
|
|
Merged build finished. Test PASSed. |
|
Test PASSed. |
|
Looks OK to me, excepting the minor simplification of those else branches. |
|
Merged build triggered. |
|
Merged build started. |
|
Test build #32611 has started for PR 6055 at commit |
|
Merged build triggered. |
|
Merged build started. |
|
Test build #32612 has started for PR 6055 at commit |
|
Test build #32612 has finished for PR 6055 at commit
|
|
Merged build finished. Test FAILed. |
|
Test FAILed. |
|
Test build #32611 has finished for PR 6055 at commit
|
|
Merged build finished. Test PASSed. |
|
Test PASSed. |
IBM's Java VM doesn't have the concept of a permgen, so this option shouldn't be passed when the vendor property shows it is an IBM JDK. Author: Tim Ellison <[email protected]> Author: Tim Ellison <[email protected]> Closes apache#6055 from tellison/MaxPermSize and squashes the following commits: 3a0fb66 [Tim Ellison] Convert tabs back to spaces 6ad4266 [Tim Ellison] Remove unnecessary else clauses to reduce nesting. d27174b [Tim Ellison] Merge branch 'master' of https://github.com/apache/spark into MaxPermSize 42a8c3f [Tim Ellison] [MINOR] Avoid passing the PermGenSize option to IBM JVMs.
IBM's Java VM doesn't have the concept of a permgen, so this option shouldn't be passed when the vendor property shows it is an IBM JDK. Author: Tim Ellison <[email protected]> Author: Tim Ellison <[email protected]> Closes apache#6055 from tellison/MaxPermSize and squashes the following commits: 3a0fb66 [Tim Ellison] Convert tabs back to spaces 6ad4266 [Tim Ellison] Remove unnecessary else clauses to reduce nesting. d27174b [Tim Ellison] Merge branch 'master' of https://github.com/apache/spark into MaxPermSize 42a8c3f [Tim Ellison] [MINOR] Avoid passing the PermGenSize option to IBM JVMs.
IBM's Java VM doesn't have the concept of a permgen, so this option shouldn't be passed when the vendor property shows it is an IBM JDK. Author: Tim Ellison <[email protected]> Author: Tim Ellison <[email protected]> Closes apache#6055 from tellison/MaxPermSize and squashes the following commits: 3a0fb66 [Tim Ellison] Convert tabs back to spaces 6ad4266 [Tim Ellison] Remove unnecessary else clauses to reduce nesting. d27174b [Tim Ellison] Merge branch 'master' of https://github.com/apache/spark into MaxPermSize 42a8c3f [Tim Ellison] [MINOR] Avoid passing the PermGenSize option to IBM JVMs.
IBM's Java VM doesn't have the concept of a permgen, so this option shouldn't be passed when the vendor property shows it is an IBM JDK.