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

release key reference when deleting from OpenHashMap #9522

Closed
scabug opened this issue Oct 16, 2015 · 3 comments
Closed

release key reference when deleting from OpenHashMap #9522

scabug opened this issue Oct 16, 2015 · 3 comments

Comments

@scabug
Copy link

scabug commented Oct 16, 2015

@axel22 points out that OpenHashMap.remove() doesn't release the reference to an entry's key when the entry is deleted.

This ticket is to null the key field in remove() (and thus set it every time in put()). This could also include nulling the Entry reference as well.

@scabug
Copy link
Author

scabug commented Oct 16, 2015

Imported From: https://issues.scala-lang.org/browse/SI-9522?orig=1
Reporter: Mike (mike)
Assignee: Mike (mike)
Affected Versions: 2.11.7, 2.11.8
Blocks #9520
Attachments:

@scabug
Copy link
Author

scabug commented Apr 25, 2016

Mike (mike) said:
scala/scala#5124

@scabug
Copy link
Author

scabug commented May 23, 2016

@adriaanm said:
Missed that the PR needs a follow up regarding test dependencies.

@scabug scabug closed this as completed May 25, 2016
@scabug scabug added this to the 2.12.0-M5 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant