RFR: JDK-8291735: methods_do() always run at exit
Tobias Holenstein
tholenstein at openjdk.org
Wed Feb 15 16:16:14 UTC 2023
`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.
-------------
Commit messages:
- JDK-8291735: methods_do() always run at exit
Changes: https://git.openjdk.org/jdk/pull/12389/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12389&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8291735
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/12389.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12389/head:pull/12389
PR: https://git.openjdk.org/jdk/pull/12389
More information about the hotspot-runtime-dev
mailing list