How to pin/avoid gc for an oop? (original) (raw)
Jon V. sybersnake at gmail.com
Thu Mar 9 18:00:36 UTC 2017
- Previous message: How to pin/avoid gc for an oop?
- Next message: How to pin/avoid gc for an oop?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: How to pin/avoid gc for an oop?
- Next message: How to pin/avoid gc for an oop?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]