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

Sparc/C2 Volano: cannot open /dev/zero (Too many open file)vm/os_solaris_sparc.c

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 1.0, 2.0
    • hotspot
    • sparc
    • solaris_2.6, solaris_7

      This is a HotSPARC compiler2 VM bug when running volano212.
      Following error happened when I run it on holdup in comp mode.
      This run use latest(Sep 28, 22:00) compiler2 fastdebug binary.

      #
      # HotSpot Virtual Machine Error, Internal Error
      #
      # Fatal: mmap_chunk: cannot open /dev/zero (Too many open files)
      #
      # Error happened during: method compilation
      #
      # compiling java/text/MessageFormat.format
      #
      # Error ID:
      /export/disk4/mojave/fhsu/binary/sparc2.0_nightly/build/solaris/../../src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp, 151 [
      Patched ]
      #
      Dumping core....

      core located at:(or see attached file in bugtraq)
      /home/fhsu/HotSparc/volano/core.os_solaris_sparc.cpp.151

      jdk used to run volano at:
      /home/fhsu/HotSparc/volano/jdk122fcs/solaris/bin/java

      Step to reproduce bug:
      1. make a directory which you want to run volano from.
         For example, mkdir /tmp/volano
      2. cp /home/fhsu/HotSparc/volano/*.txt /tmp/volano/ ; cd /tmp/volano/
      3. use this command line to start server

         java -Xcomp -XX:ThreadStackSize=128k -XX:-BytecodeVerificationRemote -XX:+PrintScavenge -classpath /import/hotsparc/perf/volano212:/home/fhsu/HotSparc/volano/jdk122fcs/solaris/jre/lib/rt.jar COM.volano.Main

      4. use this command line to start client

         java -Xcomp -XX:ThreadStackSize=128k -XX:-BytecodeVerificationRemote -XX:+PrintScavenge -classpath /import/hotsparc/perf/volano212:/home/fhsu/HotSparc/volano/jdk122fcs/solaris/jre/lib/rt.jar COM.volano.Mark -rooms 20 -users 20 -port 8003 -count 5000000

      It is hard to reproduce bug. You will run into this bug if you are lucky.

            ysr Y. Ramakrishna
            fhsusunw Francis Hsu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: