RFR: JDK-8291735: methods_do() always run at exit
Coleen Phillimore
coleenp at openjdk.org
Wed Feb 15 16:20:17 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.
Looks good + trivial. Thank you for fixing this!
-------------
Marked as reviewed by coleenp (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12389
More information about the hotspot-runtime-dev
mailing list