performance improvements and JMX optimizations