LuciferYang commented on PR #43439:
URL: https://github.com/apache/spark/pull/43439#issuecomment-1773007147

   > What I am confused about is, how should we check the effect after gc is 
triggered
   
   Construct a case where `SparkResult` won't be manually closed, and check if 
after registering `cleanable`, `Cleaner.impl.phantomCleanableList` is not 
empty, but eventually `phantomCleanableList` is empty?  This may require adding 
some code to get `phantomCleanableList` through reflection, just a suggestion, 
not sure if it's really feasible.
   
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to