if (defaultFactory == null) {
synchronized (this) {
if (defaultFactory == defaultFactory) {
defaultFactory = JspFactory.getDefaultFactory();
if (!JspPerformanceFactory.class.isInstance(defaultFactory)) {
wrapper = new JspPerformanceFactory(defaultFactory);
JspFactory.setDefaultFactory(wrapper);
}
}
}
}