Recently, I’m learning gc algorithms, and would like to implement my first reference counting gc in hotspot. I wonder that is there any interface I can implement to do some necessary work when the frame destroys?