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

Tobias Holenstein tholenstein at openjdk.org
Thu Feb 16 12:58:46 UTC 2023


On Wed, 15 Feb 2023 16:17:16 GMT, Coleen Phillimore <coleenp 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!

Thanks @coleenp and @vnkozlov !

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

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


More information about the hotspot-runtime-dev mailing list