On Wed, 18 Nov 2026 18:54:12 GMT, Vladimir Kozlov <[email protected]> wrote:
>> It only adds Metadata relocation for loading classes as we should do when we >> load metadata. For example: >> [c2_MacroAssembler_x86.cpp#L65](https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp#L65) >> >> When I merged Valhalla changes into AOT code JEP PR I decided to play safe >> and leave it. But now after more testing I think we can do that. >> >> Actually there is similar code in C1 >> `LIRGenerator::increment_event_counter_impl` which I can also adjust. >> >> @shipilev if you completely agains it I can take it out from this change and >> do in separate PR. > > There is another place in C2 `ValueTypeNode::tagged_klass()`. May be I > should do it in a separate RFE indeed. I am not against it, was just expecting to see only build-related changes here. It would be better to split off the semantic changes to the separate commit. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/33951#discussion_r4619491732
