Hi Serkan
Am 28.07.2013 22:25, schrieb Christoph Engelbert:
> Am 28.07.2013 22:22, schrieb serkan özal:
>> It is an excellent question What says the GC if it finds
>> references not ending in the onheap area? :)
>> I will test it.
>>
> Hehe, waiting for your results. Test it with massive amount of data
> and allocation rate to have much dc pressure.
One more question that comes to my mind, do you have any check that
only value types are allocated on offheap?
If I make a class Foo with an Member Bar but Bar is allocated onheap
and Foo is offheap is the GC able to find non referenced Bar
objects? Does he maybe throw them away to early because there is no
onheap reference?
class Foo {
private Bar bar;
}
Chris