From 531040d4c281f777f52440b22a02356c16af9e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=89=E9=BB=98=E7=8E=8B=E4=BA=8C?= Date: Tue, 6 Jun 2023 15:59:24 +0800 Subject: [PATCH] =?UTF-8?q?by=20=E8=8A=B1=E6=A4=92-=CF=80.-7=E5=B9=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/exception/try-catch-xingneng.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/exception/try-catch-xingneng.md b/docs/exception/try-catch-xingneng.md index 207ed6395..70735bdf8 100644 --- a/docs/exception/try-catch-xingneng.md +++ b/docs/exception/try-catch-xingneng.md @@ -192,7 +192,7 @@ public class TryCatchTest1 { ![](https://cdn.tobebetterjavaer.com/studymore/try-catch-xingneng-20230326210303.png) -+-差不多,直接看前面的分数对比,没有 `ry-catch` 的性能确实好些,这也和书中说的 `try-catch` 会影响 JVM 一些特定的优化说法吻合,但是具体没有说影响哪些优化,我猜测可能是指令重排之类的。 ++-差不多,直接看前面的分数对比,没有 `try-catch` 的性能确实好些,这也和书中说的 `try-catch` 会影响 JVM 一些特定的优化说法吻合,但是具体没有说影响哪些优化,我猜测可能是指令重排之类的。 好了,我再总结下有关 `try-catch` 性能问题说法: -- GitLab