How to pin/avoid gc for an oop?

Christian Hagedorn ch-hagedorn at hispeed.ch
Thu Mar 9 17:25:54 UTC 2017


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