zhaomin1423 commented on PR #43439: URL: https://github.com/apache/spark/pull/43439#issuecomment-1774103666
> > 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. Thanks, I will try it and if it doesn't work. I will verify manually by adding logs. -- 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]
