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

CDS does not patch entry trampoline if intrinsic method is disabled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b140
    • Resolved In Build:
      b150

      Description

      JDK-8154122 introduce new flag "UseFMA". Running following sequence of commands cause fastdebug Java 9(b140 and later) to crash on my Linux amd64 system:
      java -Xshare:dump
      java -XX:-UseFMA -XX:+UseSharedSpaces -version
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/method.cpp:982
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/scratch/opt/jprt/T/P1/002850.jianzhou/s/hotspot/src/share/vm/oops/method.cpp:982), pid=16543, tid=16545
      # assert(entry == _i2i_entry && entry == _from_interpreted_entry) failed: should be correctly set during dump time
      #
      # JRE version: (9.0) (fastdebug build )
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-11-15-002850.jianzhou.jdk9, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %P" (or dumping to /home/ddmitriev/work/nightly_bundles/nightly.2016-11.15/bin/core.16543)
      #
      # An error report file with more information is saved as:
      # /home/ddmitriev/work/nightly_bundles/nightly.2016-11.15/bin/hs_err_pid16543.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      hs_err_pid16543.log is attached.

        Attachments

        1. hs_err_pid16543.log
          59 kB
          Dmitry Dmitriev
        2. hs_err_pid21545.log
          68 kB
          Tobias Hartmann
        3. TestInterpreterMethodEntries.java
          4 kB
          Tobias Hartmann

          Issue Links

            Activity

              People

              • Assignee:
                thartmann Tobias Hartmann
                Reporter:
                ddmitriev Dmitry Dmitriev
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: