garbage-collection
Does this form of memory management make sense at all in Java?
In the life-cycle of my application, I have to re-create an ArrayList that contains other ArrayLists of objects (reading them from storage). The ArrayList is always assigned to the same data member in[详细]
2023-04-01 13:35 分类:问答Is the __destruct method necessary for PHP?
The manual said that The destructor method will be called as soon as all references to a particular object are removed or when the object is explicitly[详细]
2023-04-01 11:41 分类:问答Memory leak on classes which refer to each other
For the curious: It turns out my memory leak had nothing to do with what I put in the sample here.I thought I had the issue nailed down to some sample code, but my sample code had different issues.I d[详细]
2023-04-01 10:30 分类:问答Java garbage collector
IS there a way to set a garbage collector only for one type, like in Objective C when you do [Oppsie release]; Or is there a similar way in Java. I was thin开发者_Go百科king for setting Oppsie to null[详细]
2023-03-31 20:25 分类:问答Clarifications regarding weak references in actionscript listeners
I understand how weak references work, but I am bit confused regarding it\'s use in actionscript event listeners. Consider the example below:[详细]
2023-03-31 17:54 分类:问答Garbage collection overload, Java
The problem is that some how due to garbage collection timings I am having tradeoff\'s in my performance. The issue can be generalized as:[详细]
2023-03-31 13:04 分类:问答does android-ndk build with --gc-sections, and how to disable?
I am porting the \'iw\' command to Android.This is wireless related.It appears that the iw tool has a set of commands that can be used, however from another user\'s site:[详细]
2023-03-31 09:46 分类:问答If Java's garbage collector moves objects, what is Object.hashCode and System.identityHashCode?
I\'ve often heard that these methods (Object.hashCode and System.identityHashCode) return the address of the object, or something computed quickly from the address; but I\'m also pretty sure the garba[详细]
2023-03-30 20:27 分类:问答If I bind one control to the other, and one of the control dies, what happens to the binding?
fo开发者_开发技巧r example, let\'s take a programmatic binding: Binding binding = new Binding(\"MyProperty\");[详细]
2023-03-30 06:03 分类:问答How Can I Assist IE's Flawed Garbage Collector?
I have a JavaScript application that uses XMLHttpRequest to fetch and parse about 60,000 XML documents. However, IE\'s memory usage grows quickly, and eventually the program crashes. I suspect this ha[详细]
2023-03-30 02:02 分类:问答