private void buildStatementFromContext(List<XNode> list, String requiredDatabaseId) { for (XNode context : list) { final XMLStatementBuilder statementParser = new XMLStatementBuilder(configuration, builderAssistant, context, requiredDatabaseId); try { statementParser.parseStatementNode(); } catch (IncompleteElementException e) { configuration.addIncompleteStatement(statementParser); } } }

Why isn't multithreading adopted for parsing XNode and constructing MappedStatement here?

Comment From: nothingzhl

In my opinion,There is no need to introduce multithreaded parsing, or that introducing multithreading does not improve performance much, but rather increases the risk of uncertainty -.-