Class PluginClassLoaderLeakSentinel

java.lang.Object
com.xebialabs.xlrelease.osgi.spring.PluginClassLoaderLeakSentinel

public class PluginClassLoaderLeakSentinel extends Object
A production safety net, independent of the CI-only leak-gate test suite: after PluginTeardown.teardown(com.xebialabs.xlrelease.osgi.spring.PluginRuntime) completes, watches whether a plugin's classloader actually becomes collectible within a bounded delay, and logs at ERROR - with the plugin's symbolic name and install/teardown timestamps - if it doesn't. Purely observational: never throws, never forces GC, never affects any other plugin or host behavior.