RFR: JDK-8291735: methods_do() always run at exit

Vladimir Kozlov kvn at openjdk.org
Wed Feb 15 19:14:24 UTC 2023


On Thu, 2 Feb 2023 15:12:12 GMT, Tobias Holenstein <tholenstein at openjdk.org> wrote:

> `SystemDictionary::methods_do` is always executed because we miss parenthesis around the first `or`. `&&` binds stronger than `||` and therefore the condition become true if `ProfileInterpreter` is true. 
> 
> Fixed by adding the missing parenthesis.

Good.

-------------

Marked as reviewed by kvn (Reviewer).

PR: https://git.openjdk.org/jdk/pull/12389


More information about the hotspot-runtime-dev mailing list