Skip to content

Build: Fork javac to avoid GC overhead #26047

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

Merged
merged 1 commit into from
Aug 3, 2017
Merged

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Aug 3, 2017

Compiling all of elasticsearch classes in one jvm, which is shared with
all of the loaded classes of gradle, can trip gc overhead limits. This
commit re-enables forking javac.

Compiling all of elasticsearch classes in one jvm, which is shared with
all of the loaded classes of gradle, can trip gc overhead limits. This
commit re-enables forking javac.
Copy link
Contributor

@bleskes bleskes left a comment

Choose a reason for hiding this comment

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

LGTM - let's get it in and quite the build

@rjernst
Copy link
Member Author

rjernst commented Aug 3, 2017

Note this was originally removed in #25859 under the assumption the forking was only there to allow gradle java to be different from compile/test java.

@rjernst rjernst merged commit 10cf5a8 into elastic:master Aug 3, 2017
@rjernst rjernst deleted the fork_compiler branch August 3, 2017 19:48
rjernst added a commit that referenced this pull request Aug 3, 2017
Compiling all of elasticsearch classes in one jvm, which is shared with
all of the loaded classes of gradle, can trip gc overhead limits. This
commit re-enables forking javac.
rjernst added a commit that referenced this pull request Aug 3, 2017
Compiling all of elasticsearch classes in one jvm, which is shared with
all of the loaded classes of gradle, can trip gc overhead limits. This
commit re-enables forking javac.
rjernst added a commit that referenced this pull request Aug 3, 2017
Compiling all of elasticsearch classes in one jvm, which is shared with
all of the loaded classes of gradle, can trip gc overhead limits. This
commit re-enables forking javac.
@colings86 colings86 added v5.6.0 and removed v5.6.1 labels Aug 4, 2017
@nik9000 nik9000 added the :Delivery/Build Build or test infrastructure label Aug 4, 2017
@lcawl lcawl removed the v6.1.0 label Dec 12, 2017
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v5.6.0 v6.0.0-beta1 v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants