[aarch64-port-dev ] [8u] RFR: 8224671: AArch64: mauve System.arraycopy test failure

Liu, Xin xxinliu at amazon.com
Wed Jun 5 18:04:58 UTC 2019


Copy-paste error.  webrev is here: https://cr.openjdk.java.net/~xliu/8219006/webrev/

Yes, It only happens in debug build.   Forget about Spring. I have an easy way to id this problem.

Use -XX:+PrintCodeStub and find function StubRoutines::generic_arraycopy
the block clobbers 'x9' or rscratch2 here. 

  ;; check_klass_subtype_slow_path
  0x0000ffff74178928: stp	x0, x2, [sp, #-32]!
  0x0000ffff7417892c: stp	x5, xzr, [sp, #16]
  ;; 0xFFFF81B2D2A0
  0x0000ffff74178930: mov	x9, #0xd2a0                	// #53920
  0x0000ffff74178934: movk	x9, #0x81b2, lsl #16
  0x0000ffff74178938: movk	x9, #0xffff, lsl #32
  0x0000ffff7417893c: ldr	x8, [x9]

Thanks,
--lx

On 6/5/19, 4:36 AM, "Andrew Haley" <aph at redhat.com> wrote:

    On 6/3/19 6:20 AM, Liu, Xin wrote:
    
    > Not saying that the patch is incorrect. You are right. After
    > JDK-8224671, it reveals the crash problem of Spring.  After
    > investigation, it turns out the root cause is JDK-8219006. I have
    > added a label jdk8u-fix-request to it.
    
    Are you sure it's JDK-8219006? That should not be a problem unless
    you're testing a debug build.
    
    -- 
    Andrew Haley
    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 aarch64-port-dev mailing list