From one article
The collector will clear the finalized object in two steps: the first will execute finalize, and the second will build.
And so questions
- When the collector encounters a finalized object, it first sends it to the queue. And the code in the finalize method is already in the queue. When the method is executed, it will be available to the collector and destroyed during the next assembly. I understood correctly?
- Stop the world acts on the stream Finalizer?