提交 50d24865 编写于 作者: C coffeys

8197030: Perf regression on all platforms with 8u171-b03 - early lambda use

Reviewed-by: weijun
上级 69ac777d
......@@ -169,10 +169,15 @@ public class ManifestDigester {
}
}
entries.computeIfAbsent(nameBuf.toString(),
dummy -> new Entry())
Entry e = entries.get(nameBuf.toString());
if (e == null) {
entries.put(nameBuf.toString(), new Entry()
.addSection(new Section(start, sectionLen,
sectionLenWithBlank, rawBytes));
sectionLenWithBlank, rawBytes)));
} else {
e.addSection(new Section(start, sectionLen,
sectionLenWithBlank, rawBytes));
}
} catch (java.io.UnsupportedEncodingException uee) {
throw new IllegalStateException(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册