InlineSecondarySupersTest only available in c2?

Andrew Haley aph-open at littlepinkcloud.com
Mon May 27 08:37:05 UTC 2024


On 5/21/24 10:32, Johan Vos wrote:
> While working on OpenJDK/Mobile, I had to apply a patch for Android and iOS that I believe might be broader than just the mobile platforms.
> I had compile issues in
> stubGenerator_aarch64.cpp:8470:13: error: use of undeclared identifier 'InlineSecondarySupersTest'
> 
> I noticed that InlineSecondarySupersTest is only added via c2_globals.hpp . In my branch for the mobile port, I added a check around that code [1] and now it works when I want to build a minimal or a client variant. However, when I use the same configuration on Linux or MacOSX (--with-jvm-variants=client or minimal), it fails on those platforms as well (it works fine on the server variant, as that grabs c2_globals.hpp).

The patch for the equivalent code in C1 is in progress. I'll make sure it
works for minimal VM.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the build-dev mailing list