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

AArch64: incorrect prefetch distance causes an internal error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 8, 9, 10
    • hotspot
    • b35
    • aarch64

        I accidentally set an unexpected AllocatePrefetchDistance value, and it caused a crash.

        $ java -XX:AllocatePrefetchDistance=196 -jar SPECjvm2008.jar -coe -ikv -wt 5s -it 10s scimark.sparse.large

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (assembler_aarch64.hpp:251), pid=1841, tid=1902
        # guarantee(chk == -1 || chk == 0) failed: Field too big for insn
        #
        # JRE version: OpenJDK Runtime Environment (10.0) (build 10-internal+0-adhoc.njian.gerrit)
        # Java VM: OpenJDK 64-Bit Server VM (10-internal+0-adhoc.njian.gerrit, mixed mode, tiered, compressed oops, g1 gc, linux-aarch64)
        # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/njian/Work/jdk/test/benchmarks/specjvm2008/core.1841)
        #
        # An error report file with more information is saved as:
        # /home/njian/Work/jdk/test/benchmarks/specjvm2008/hs_err_pid1841.log
        #
        # Compiler replay data is saved as:
        # /home/njian/Work/jdk/test/benchmarks/specjvm2008/replay_pid1841.log
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #
        Aborted (core dumped)

        This is caused by unexpected imm fed to prfm.

        Maybe we should avoid this kind of input values.

              njian Ningsheng Jian (Inactive)
              njian Ningsheng Jian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: