suxiaogang223 commented on issue #12918:
URL: https://github.com/apache/hudi/issues/12918#issuecomment-2702656666

   - The cleanup method is an **instance method** that implicitly depends on 
the this pointer
   - When cleanup is called from shutdownThread, it holds a reference to this
   - Meanwhile, the DiskMap class holds a reference to shutdownThread
   This creates a circular reference:
   ```text
     DiskMap (this) -> shutdownThread -> cleanup -> DiskMap (this)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to