garbage-collection
limit for max heap size in java heap setting
is there limit to increase the max heap size in java?I am wondering if the large heap size can be set as l开发者_如何学Goong as the physical memory is available.[详细]
2023-03-29 18:36 分类:问答can a enum variable garbage collected?
Normally all reference types are garbage collected when it is having no reference. What about a enum variable? will it be garbage collected even 开发者_如何学Cif it is out of scope(means it is not ref[详细]
2023-03-29 18:18 分类:问答C# Nullable value type generates garbage?
Does a Nullable value type generate garbage? For example: A struct is not created on the heap but on the stack because it\'s a value type.[详细]
2023-03-29 05:52 分类:问答Java - Need Verbose GC logging to Separate Files
I understand there\'s -Xloggc option exists for outputting GC output to separate file.But it doesn\'t work for me.I\'ve 16 java processes with same main running on on开发者_运维问答e machine so I can\[详细]
2023-03-29 05:23 分类:问答Zero shallow heap, non-zero retained heap
When I analyse the hprof file with MAT, there is an object with zero shallow heap. However its retained heap is 48 Bytes. Is th开发者_如何学Gois a weak reference ? Is itsmemory reclaimed by GC ? Thank[详细]
2023-03-29 02:43 分类:问答Does pinning an object in the LOH affect GC performance?
I\'ve read that pinning objects in the manage开发者_StackOverflow中文版d heap affects the GC performance in .NET, because the GC can\'t compact memory if there are pinned objects \"in the way\". But s[详细]
2023-03-29 01:23 分类:问答What does it mean if the garbage collector is "more aggressive" in Monotouch 4?
I stumbled about this question: Button in ContentView causes crash in MonoTouch runtime. Bug in Monotouch 4.0? and the inquirer has problems with Mon开发者_JAVA百科otouch\'s \"more aggressive\" garbag[详细]
2023-03-28 21:54 分类:问答What happens to LOST String objects
Line 1: String x = \"Java\"; Line 2: x.concat(\" Rules!\"); Line 3: System.out.println(\"x = \" + x); Output is \"x= Java\"[详细]
2023-03-28 21:23 分类:问答android garbage collector, freeing objects inside objects
I\'m very curious about how this thing works inside Android. I have a class with two List<> inside, instantiated at runtime and loaded with objects created while reading some data, I want to know w[详细]
2023-03-28 20:07 分类:问答Finalization queue in Java
Is it the case that only if a class has a finalize() method, only then that object, when unreachable, is added to the finalization queue? Reason being I was going through this link[详细]
2023-03-28 16:46 分类:问答