How to pin/avoid gc for an oop?
Christian
ch-hagedorn at hispeed.ch
Thu Mar 9 19:32:57 UTC 2017
Hi Jon,
I need this for an undo log of a transactional memory system with pessimistic locking/eager version management.
Am 9. März 2017, 19:00, um 19:00, "Jon V." <sybersnake at gmail.com> schrieb:
>Can you clarify what you mean by Undo and why you think this should be
>done
>at the VM level so we can better understand the request.
>
>If you don't want something to be garbage collected then simply don't
>dereference it.
>
>On Thu, Mar 9, 2017 at 12:38 PM Christian Hagedorn
><ch-hagedorn at hispeed.ch>
>wrote:
>
>> Hi,
>>
>>
>>
>> I want to implement an undo functionality and thus need to access an
>oop
>> even when it is out of scope in the Java code. How can I pin such an
>oop to
>> avoid garbage collection of its used memory?
>>
>>
>>
>> Best regards,
>>
>> Christian
>>
>>
More information about the hotspot-dev
mailing list