[CRaC] Fix glibc IFUNC for AVX_Fast_Unaligned_Load

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • repo-crac
    • Affects Version/s: repo-crac
    • Component/s: hotspot
    • None
    • In Review
    • x86_64
    • linux

      t3.nano

      export JAVA_HOME=$PWD;ulimit -c unlimited;rm -rf cr || exit 1; for i in $(seq 1 1000);do /bin/true;done; bin/java -XX:CRaCEngine=warp -XX:CRaCCheckpointTo=cr -XX:+ShowCPUFeatures -XX:CPUFeatures=0x142000070bbdf,0x280 CPUFeatures&p=$!;sleep 2;bin/jcmd CPUFeatures JDK.checkpoint; wait $p;true

      m1.small

      export JAVA_HOME=$PWD;ulimit -c unlimited; bin/java -XX:CRaCEngine=warp -XX:CRaCRestoreFrom=cr &p=$!;(sleep 2;kill $p)&wait $p;echo RC=$?
      debug1: pledge: fork
      warp: Restore successful!
      [Too many errors, abort]
      bash: line 1: 2947 Aborted (core dumped) bin/java -XX:CRaCEngine=warp -XX:CRaCRestoreFrom=cr

      env

      #391 <signal handler called>
      #392 0x00007f9d1106f3c9 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
      #393 0x00007f9d0ef0eae9 in CracRestoreParameters::read_from(int) () from /home/admin/lib/server/libjvm.so

         0x7f9d0ef0eae4 <_ZN21CracRestoreParameters9read_fromEi+1268>: call 0x7f9d0e600370 <memcpy@plt>

      => 0x7f9d1106f3c9: vmovdqu (%rsi),%ymm0

      glibc-2.41-12

            Assignee:
            Jan Kratochvil
            Reporter:
            Jan Kratochvil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: