JeetKunDoug opened a new pull request, #2686: URL: https://github.com/apache/cassandra/pull/2686
By running the `postStartup` logic in a `sync` block, we ensure that any ThreadLocal instances are created on the appropriate, instance-isolated thread. In this case, ThreadLocal objects were holding references to the InstanceClassLoader which created the ThreadLocal's value, thereby preventing the classloader from being collected. -- 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]

