|
When services get created that do not extend ServiceBeanAdapter, a dynamic proxy is created to handle the delegation between the bean and the service bean. An approach for caching these proxies should be done, so dynamic proxies can be re-used across service instantiations.
A MeasurableCapability will be created to monitor the perm gen. If the perm gen exceeds a threshold (90%?) of total perm gen, the cybernode will cease to be a resource that can be used to instantiate services. If the perm gen gets freed, the cybernode will once again register for the instantiation of services.
We may also want to relocate services, and/or possibly restart the cybernode automatically. This may also be something that a gnostic can take into account, relocating services to other available cybernodes. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m