Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Remove class reference from nailgun stats #131

Merged
merged 1 commit into from
Mar 31, 2018

Conversation

sbalabanov-zz
Copy link
Contributor

Nailgun keeps nail class in memory preventing garbage collector to destroy it when nail finishes. Use string instead of class for nail stats.
With that I am also stopping support for nailShutdown. It should be implemented as a separate nail if anyone wants it.

Copy link
Contributor

@ttsugriy ttsugriy left a comment

Choose a reason for hiding this comment

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

Please announce a breaking change somewhere to the community :)

@sbalabanov-zz sbalabanov-zz merged commit f9c1d5a into facebookarchive:master Mar 31, 2018
facebook-github-bot pushed a commit to facebook/buck that referenced this pull request Mar 31, 2018
Summary: This brings in facebookarchive/nailgun#131

Reviewed By: styurin

fbshipit-source-id: adc160b
@kageiit
Copy link

kageiit commented Apr 2, 2018

+1 Please use a github issue to announce breaking changes like buck does. We use nailgun in other projects as well

jvican added a commit to scalacenter/bloop that referenced this pull request Apr 6, 2018
Previously, bloop would persist the analysis file on `shutDown`.
However, this hook has been removed upstream in
facebookarchive/nailgun#131.

As a result, we take another (more resilient) strategy to persist the
analysis file. We persist analysis file on the io pool after every
`Interpreter` execution, without blocking the return of the request.

All the logs are redirected to the nailgun server output.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants