RFR: 8259287: AbstractCompiler marks const in wrong position for is_c1/is_c2/is_jvmci

Aleksey Shipilev shade at openjdk.java.net
Wed Jan 6 09:53:54 UTC 2021


On Wed, 6 Jan 2021 09:46:01 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> I think the intention is to have constant member functions.
>
> Marked as reviewed by shade (Reviewer).

This shows up in my code scans too, Clang-Tidy says e.g. "Return type 'const CompilerType' is 'const'-qualified at the top level, which may reduce code readability without improving const". Introduced by JDK-8166377.

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

PR: https://git.openjdk.java.net/jdk/pull/1953


More information about the hotspot-compiler-dev mailing list