Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8221725

AArch64 build failures after JDK-8221408 (Windows 32bit build build errors/warnings in hotspot)

XMLWordPrintable

    • b15
    • aarch64

        AArch64:

        * For target hotspot_variant-server_libjvm_objs_ad_aarch64.o:
        /home/buildbot/worker/jdkX-linux/build/src/hotspot/cpu/aarch64/aarch64.ad: In member function 'virtual void cmpFastLockNode::emit(CodeBuffer&, PhaseRegAlloc*) const':
        /home/buildbot/worker/jdkX-linux/build/src/hotspot/cpu/aarch64/aarch64.ad:3448:85: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
             __ mov(tmp, (address) (~(os::vm_page_size()-1) | markOopDesc::lock_mask_in_place));

        CI history points to JDK-8221408 as the suspect. Reverting that patch makes the AArch64 build pass.

        I think moving the two constants from the enum made its values denser than the address width, which blows up the warning now.

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: