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

JVM behaves inconsistently during initialization on sun4u vs sun4v platforms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6u23
    • hotspot
    • sparc
    • solaris_10

      On 'sun4u' platforms, a consistent error message is issued, if memory
      requirements cannot be satisfied at JVM startup time.
      On 'sun4v' platforms, various error messages appear. The process
      may even be aborted and throw a 'hs_err_pid.log' and a 'core' file.

      1. sun4v platform
      -----------------
      Various error messages appear. The process may even be aborted.

      # uname -a
      SunOS t1000 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T1000
      # swap -s
      total: 553440k bytes allocated + 135408k reserved = 688848k used, 12651296k available
      #


      # /jdk1.6.0_23/bin/java -server -Xms3920m -version
      java version "1.6.0_23"
      Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
      Java HotSpot(TM) Server VM (build 19.0-b09, mixed mode)
      #

      # /jdk1.6.0_23/bin/java -server -Xms3922m -version
      Error occurred during initialization of VM
      java.lang.OutOfMemoryError: unable to create new native thread
      #


      # /jdk1.6.0_23/bin/java -server -Xms3925m -version
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # java.lang.OutOfMemoryError: requested 65536 bytes for E in /BUILD_AREA/jdk6_23/hotspot/src/share/vm/utilities/taskqueue.hpp. Out of swap space?#
      # Internal Error (allocation.inline.hpp:39), pid=2352, tid=2
      # Error: E in /BUILD_AREA/jdk6_23/hotspot/src/share/vm/utilities/taskqueue.hpp
      #
      # JRE version: 6.0_23-b05
      # Java VM: Java HotSpot(TM) Server VM (19.0-b09 mixed mode solaris-sparc )
      # An error report file with more information is saved as:
      # //hs_err_pid2352.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Abort
      #

      # /jdk1.6.0_23/bin/java -server -Xms3930m -version
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # java.lang.OutOfMemoryError: Cannot create GC thread. Out of system resources.
      #
      # Internal Error (gcTaskThread.cpp:38), pid=2325, tid=2
      # Error: Cannot create GC thread. Out of system resources.
      #
      # JRE version: 6.0_23-b05
      # Java VM: Java HotSpot(TM) Server VM (19.0-b09 mixed mode solaris-sparc )
      # An error report file with more information is saved as:
      # //hs_err_pid2325.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Abort
      #

      # /jdk1.6.0_23/bin/java -server -Xms3950m -version
      Error occurred during initialization of VM
      Could not reserve space for ObjectStartArray
      #

      2. sun4u platform
      -----------------
      A consistent error message is issued.

      % uname -a
      SunOS sunblade 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Blade-1000
      % swap -s
      total: 2010376k bytes allocated + 386224k reserved = 2396600k used, 5417152k available
      %


      % /jdk1.6.0_23/bin/java -server -Xms3940m -version
      java version "1.6.0_23"
      Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
      Java HotSpot(TM) Server VM (build 19.0-b09, mixed mode)
      %
      % /jdk1.6.0_23/bin/java -server -Xms3950m -version
      Error occurred during initialization of VM
      Could not reserve enough space for the card marking array
      %
      % /jdk1.6.0_23/bin/java -server -Xms3980m -version
      Error occurred during initialization of VM
      Could not reserve enough space for object heap
      Could not create the Java virtual machine.
      %

            minqi Yumin Qi
            thlenz Thomas Lenz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: