pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/jruby/jruby/pull/9331

om/assets/global-0bd78641c0a1f3e0.css" /> simple and blunt fix for BiVariableMap memory leak by matthias-fratz-bsz · Pull Request #9331 · jruby/jruby · GitHub
Skip to content

simple and blunt fix for BiVariableMap memory leak#9331

Draft
matthias-fratz-bsz wants to merge 1 commit intojruby:masterfrom
matthias-fratz-bsz:bivariablemap-simple-memory-leak-fix
Draft

simple and blunt fix for BiVariableMap memory leak#9331
matthias-fratz-bsz wants to merge 1 commit intojruby:masterfrom
matthias-fratz-bsz:bivariablemap-simple-memory-leak-fix

Conversation

@matthias-fratz-bsz
Copy link
Copy Markdown
Contributor

This introduces an attribute SHARING_INSTANCE_VARIABLES to control whether instance variables are accessible via the embedding interface. It is disabled by default and has a clear warning that enabling it will lead to a memory leak unless cleaned up manually.

This is incomplete; I haven't adjusted the testcase yet. The testcase would now need to test the different behaviors with SHARING_INSTANCE_VARIABLES enabled and disabled, respectively. However, I think the code already shows the "simple and blunt" way of fixing the #8527 memory leak.

This introduces an attribute SHARING_INSTANCE_VARIABLES to control whether
instance variables are accessible via the embedding interface. It is
disabled by default and has a clear warning that enabling it will lead to
a memory leak unless cleaned up manually.
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.

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy