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

C2 complains about unreasonably large method running Octane zlib in Nashorn

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b120
    • x86_64
    • os_x

      With a clean 9-dev fastdebug build (hotspot: a02911828e48, nashorn: 68a026de1201), this is reproducible on Mac OS X:

      $ jjs ../test/script/basic/run-octane.js -scripting -- zlib --runtime nashorn --verbose --iterations 1
      [nashorn] [zlib] loading 'zlib' [zlib.js]... /Users/haupt/JPG/dev/nashorn/make/../test/script/basic/../external/octane/zlib.js
      [nashorn] [zlib] loading 'zlib' [zlib-data.js]... /Users/haupt/JPG/dev/nashorn/make/../test/script/basic/../external/octane/zlib-data.js
      [nashorn] [zlib] running 'zlib' for 1 iterations of no less than 5 seconds
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/output.cpp:1613
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/Users/haupt/JPG/dev/hotspot/src/share/vm/opto/output.cpp:1613), pid=76326, tid=26371
      # assert(cb->insts_size() < 500000) failed: method is unreasonably large
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (build 1.9.0-internal-fastdebug-haupt_2015_10_05_09_23-b00)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-internal-fastdebug-haupt_2015_10_05_09_23-b00, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
      # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # An error report file with more information is saved as:
      # /Users/haupt/JPG/dev/nashorn/make/hs_err_pid76326.log

      [error occurred during error reporting , id 0xb]

      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #
      Current thread is 26371
      Dumping core ...
      Abort trap: 6

            vlivanov Vladimir Ivanov
            mhaupt Michael Haupt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: