aa510159c2
Today when acquiring a prefix logger for a logger info stream, we obtain a new prefix logger per invocation. This can lead to contention on the markers lock in the constructor of PrefixLogger. Usually this is not a problem (because the vast majority of callers hold on to the logger they obtain). Unfortunately, under heavy indexing with multiple threads, the contention on the lock can be devastating. This commit modifies LoggerInfoStream to hold on to the loggers it obtains to avoid contending over the lock there. Relates #20571 |
||
---|---|---|
.. | ||
src | ||
build.gradle |