Skip to content

Conversation

@nrgraham23
Copy link
Contributor

This pull request adds two Buffer references to the
Request class. Whenever a request object is created
that has associated buffers, the buffers should be added
to these references so the java garbage collector does
not dispose of the buffers prematurely.

This is a more robust expansion on the idea first proposed by
@ggouaillardet, and further discussed in #369.

Fixes #369

Signed-off-by: Nathaniel Graham ngraham@lanl.gov

@hppritcha @jsquyres @ggouaillardet @osvegis

This pull request adds an arraylist of type Buffer to
the Request class.  Whenever a request object is created
that has associated buffers, the buffers should be added
to this array list so the java garbage collector does
not dispose of the buffers prematurely.

This is a more robust expansion on the idea first proposed by
@ggouaillardet

Fixes open-mpi#369

Signed-off-by: Nathaniel Graham <ngraham@lanl.gov>
Copy link
Member

Choose a reason for hiding this comment

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

minor thing, and don't redo for this PR, but normally try to avoid whitespace changes in PRs that are not just whitespace changes.

@hppritcha
Copy link
Member

👍

@hppritcha hppritcha added the bug label Aug 20, 2015
@hppritcha hppritcha added this to the Open MPI v1.10.0 milestone Aug 20, 2015
@hppritcha
Copy link
Member

@nrgraham23 please push this fix back to v1.10.

Removing the ArrayList import which is no longer needed.
hppritcha added a commit that referenced this pull request Aug 22, 2015
@hppritcha hppritcha merged commit eb25c00 into open-mpi:master Aug 22, 2015
jsquyres pushed a commit to jsquyres/ompi that referenced this pull request Sep 19, 2016
@nrgraham23 nrgraham23 deleted the java_garbage_collection_bugfix branch February 10, 2017 17:14
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.

2 participants