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

Remove explicit calls to System.gc() #369

Merged
merged 1 commit into from
Oct 12, 2019
Merged

Conversation

tianshuang
Copy link
Contributor

Manually calling this method causes Spark to take up too much GC time for OSS. It is recommended to remove the method call.

What changes were proposed in this pull request?

Reduce Full GC frequency and reduce the time required for GC.

How was this patch tested?

Using -XX:+DisableExplicitGC simulates the removal of this line of code and found no problems.

Manually calling this method causes Spark to take up too much GC time for OSS. It is recommended to remove the method call.
@CLAassistant
Copy link

CLAassistant commented Oct 12, 2019

CLA assistant check
All committers have signed the CLA.

@uncleGen uncleGen merged commit d9bed6d into aliyun:branch-1.7 Oct 12, 2019
@uncleGen
Copy link
Collaborator

LGTM, thanks

@uncleGen uncleGen added this to the v1.8.0 milestone Oct 12, 2019
@uncleGen
Copy link
Collaborator

please backport this pr to master-2.x

@tianshuang tianshuang deleted the patch-1 branch July 10, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants