On Fri, 21 Aug 2026 05:19:53 GMT, David Holmes <[email protected]> wrote:
> It seems that compiler/valhalla/inlinetypes/TestLWorldProfiling.java is
> failing on all platforms, and I find no record in JBS that we have seen it
> fail like this else where. I can't see why it should fail with your changes
> though.
It was about unusual VM options -XX:+UseArrayLoadStoreProfile
-XX:TypeProfileLevel=0 - I needed to check both of them in
profile_array_accesses:
bool MethodData::profile_array_accesses() {
return COMPILER2_PRESENT(UseArrayLoadStoreProfile ||) TypeProfileLevel > 0;
}
With the latest commit the test passes.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/32402#issuecomment-5414477876