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

assert(minimum_desired_capacity <= maximum_desired_capacity,"sanity check")

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 5.0
    • 5.0
    • hotspot
    • gc
    • b36
    • generic
    • generic
    • Verified

      The following assertion occurs when building the J2SE workspace with a fastdebug
      version of libjvm.so. It occurs with both Solaris x86 and Linux. The issue
      originally arose with a build of service_hs_baseline but changes in
      service_hs_baseline eliminated by grabbing a fastdebug build from PRT. The
      older in /net/prt-web is 20031004095511.ovrskeek.


      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (/net/prt-solx86-q1-2/PrtBuildDir/workspace/src/share/vm/memory/tenuredGeneration.cpp, 139), pid=13741, tid=4
      #
      # Java VM: Java HotSpot(TM) Client VM (20031004095511.ovrskeek.main_baseline-debug mixed mode)
      #
      # Error: assert(minimum_desired_capacity <= maximum_desired_capacity,"sanity check")

      --------------- T H R E A D ---------------

      Current thread (0x080e64e0): VMThread [id=4]

      Stack: [0xddf01000,0xddf41000), sp=0xddf4050c, free space=253k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x5e0413]
      V [libjvm.so+0x1eb15d]
      V [libjvm.so+0x58b62e]
      V [libjvm.so+0x21029a]
      V [libjvm.so+0x1a9f4a]
      V [libjvm.so+0x210671]
      V [libjvm.so+0x5f423c]
      V [libjvm.so+0x5f3daf]
      V [libjvm.so+0x5f2b41]
      V [libjvm.so+0x5f31ae]
      V [libjvm.so+0x5f282f]
      V [libjvm.so+0x4f8eca]

      VM_Operation (0x0803fd60): generation collection for allocation, mode: safepoint, requested by thread 0x0808de90


      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x08124ff0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=9]
        0x08123220 JavaThread "CompilerThread0" daemon [_thread_blocked, id=8]
        0x08121df0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7]
        0x080ec118 JavaThread "Finalizer" daemon [_thread_blocked, id=6]
        0x080e9b60 JavaThread "Reference Handler" daemon [_thread_blocked, id=5]
        0x0808de90 JavaThread "main" [_thread_blocked, id=1]

      Other Threads:
      =>0x080e64e0 VMThread [id=4]
        0x08126cd8 WatcherThread [id=10]

      VM state:at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x0808c680/0x0808c6e8] Threads_lock - owner thread: 0x080e64e0
      [0x0808cf08/0x0808cf60] Heap_lock - owner thread: 0x0808de90

      Heap
       def new generation total 4864K, used 0K [0xc7800000, 0xc7ce0000, 0xc8bb0000)
        eden space 4736K, 0% used [0xc7800000, 0xc7800000, 0xc7ca0000)
        from space 128K, 0% used [0xc7cc0000, 0xc7cc0000, 0xc7ce0000)
        to space 128K, 0% used [0xc7ca0000, 0xc7ca0000, 0xc7cc0000)
       tenured generation total 60928K, used 44774K [0xc8bb0000, 0xcc730000, 0xd7800000)
         the space 60928K, 73% used [0xc8bb0000, 0xcb769948, 0xcb769a00, 0xcc730000)
       compacting perm gen total 4096K, used 2592K [0xd7800000, 0xd7c00000, 0xdb800000)
         the space 4096K, 63% used [0xd7800000, 0xd7a88078, 0xd7a88200, 0xd7c00000)

      Dynamic libraries:
      0x08050000 ../../../build/solaris-i586/bin/javac
      0xdfb70000 /usr/lib/libthread.so.1
      0xdfbb0000 /usr/lib/libdl.so.1
      0xdfac0000 /usr/lib/libc.so.1
      0xde000000 /export/Scratch/alanb/builds/service_sdk_baseline/build/solaris-i586/lib/i386/client/libjvm.so
      0xdfa50000 /usr/lib/libsocket.so.1
      0xdfa30000 /usr/lib/libsched.so.1
      0xdfa00000 /usr/lib/libCrun.so.1
      0xdf9e0000 /usr/lib/libm.so.1
      0xdf940000 /usr/lib/libnsl.so.1
      0xdfa70000 /usr/lib/libw.so.1
      0xdf910000 /usr/lib/libmp.so.2
      0xdf8d0000 /export/Scratch/alanb/builds/service_sdk_baseline/build/solaris-i586/lib/i386/native_threads/libhpi.so
      0xdf880000 /export/Scratch/alanb/builds/service_sdk_baseline/build/solaris-i586/lib/i386/libverify.so
      0xdf850000 /export/Scratch/alanb/builds/service_sdk_baseline/build/solaris-i586/lib/i386/libjava.so
      0xdf810000 /export/Scratch/alanb/builds/service_sdk_baseline/build/solaris-i586/lib/i386/libzip.so

      VM Arguments:
      jvm_args: -Dapplication.home=/export/Scratch/alanb/builds/service_sdk_baseline/build/solaris-i586 -Xms8m -XX:ThreadStackSize=768 -Xms64m -Xmx256m -Xmaxf1
      java_command: com.sun.tools.javac.Main -classpath ../../../build/solaris-i586/classes -bootclasspath ../../../build/solaris-i586/lib/jce.jar:../../../build/solaris-i586/lib/jsse.jar -sourcepath ../../../build/solaris-i586/gensrc:../../../src/solaris/classes:../../../src/share/classes -d ../../../build/solaris-i586/classes -encoding ascii -source 1.5 ../../../src/share/classes/java/awt/PointerInfo.java ../../../src/share/classes/java/awt/MouseInfo.java ../../../src/share/classes/java/awt/geom/Point2D.java ../../../src/share/classes/java/awt/Event.java ../../../src/share/classes/java/awt/EventQueue.java ../../../src/share/classes/java/awt/EventDispatchThread.java ../../../src/share/classes/java/awt/Graphics.java ../../../src/share/classes/java/awt/FontMetrics.java ../../../src/share/classes/java/awt/SystemColor.java ../../../src/share/classes/java/awt/Dimension.java ../../../src/share/classes/java/awt/Point.java ../../../src/share/classes/java/awt/Rectangle.java ../../../src/share/classes/java/awt/Polygon.java ../../../src/share/classes/java/awt/Shape.java ../../../src/share/classes/sun/awt/ConstrainableGraphics.java ../../../src/share/classes/sun/awt/SunHints.java ../../../src/share/classes/java/awt/Robot.java ../../../src/share/classes/java/awt/Toolkit.java ../../../src/share/classes/java/awt/Component.java ../../../src/share/classes/java/awt/ComponentOrientation.java ../../../src/share/classes/java/awt/Conditional.java ../../../src/share/classes/java/awt/Container.java ../../../src/share/classes/java/awt/Button.java ../../../src/share/classes/java/awt/Scrollbar.java ../../../src/share/classes/java/awt/ScrollPane.java ../../../src/share/classes/java/awt/ScrollPaneAdjustable.java ../../../src/share/classes/sun/awt/ScrollPaneWheelScroller.java ../../../src/share/classes/java/awt/MenuContainer.java ../../../src/share/classes/java/awt/MenuComponent.java ../../../src/share/classes/java/awt/MenuBar.java ../../../src/share/classes/java/awt/Menu.java ../../../src/share/cl

      Environment Variables:
      PATH=/usr/ccs/bin:/java/devtools/i586/SUNWspro/SOS8/bin:/java/devtools/i586/bin:/home/ab23780/bin:/usr/openwin/bin:/usr/dt/bin:/usr/bin:/usr/sbin:/sbin:/usr/ucb:/usr/dist/local/exe:/usr/dist/exe:/usr/lib/lp/postscript:.
      LD_LIBRARY_PATH=/export/Scratch/alanb/builds/service_sdk_baseline/build/solaris-i586/lib/i386/client:/export/Scratch/alanb/builds/service_sdk_baseline/build/solaris-i586/lib/i386:/export/Scratch/alanb/builds/service_sdk_baseline/build/solaris-i586/../lib/i386
      SHELL=/bin/sh
      DISPLAY=mrbean:0.0


      --------------- S Y S T E M ---------------

      OS: Solaris 8 1/01 s28x_u3wos_08 INTEL
                 Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
                                 Assembled 28 November 2000

      uname:SunOS 5.8 Generic_108529-05 i86pc (T1 libthread)
      rlimit: STACK 8480k, CORE infinity, NOFILE 1024, AS infinity
      load average:0.79 0.76 0.64

      CPU:total 1(active 1) family 6, cmov, cx8, fxsr, mmx

      Memory: 4k page, physical 261748k(96988k free)


      --

      $ dbx $JAVA_HOME/bin/javac core
      For information about new features see `help changes'
      To remove this message, put `dbxenv suppress_startup_message 7.1' in your .dbxrc
      Reading javac
      dbx: internal warning: writable memory segment 0xdf8b0000[16384] of size 0 in core
      core file header read successfully
      Reading ld.so.1
      Reading libthread.so.1
      Reading libdl.so.1
      Reading libc.so.1
      Reading libjvm.so
      Reading libsocket.so.1
      Reading libsched.so.1
      Reading libCrun.so.1
      Reading libm.so.1
      Reading libnsl.so.1
      Reading libw.so.1
      Reading libmp.so.2
      Reading libhpi.so
      Reading libverify.so
      Reading libjava.so
      Reading libzip.so
      detected a multithreaded program
      t@null (l@5) terminated by signal ABRT (Abort)
      0xdfb86971: __sigprocmask+0x000c: jae __sigprocmask+0x21 <0xdfb86986>
      dbx: warning: can't find file "/PrtBuildDir/workspace/build/solaris/solaris_i486_compiler1/fastdebug/vmError.o"
      dbx: warning: see `help finding-files'
      dbx: warning: can't find file "/PrtBuildDir/workspace/build/solaris/solaris_i486_compiler1/fastdebug/debug.o"
      dbx: warning: can't find file "/PrtBuildDir/workspace/build/solaris/solaris_i486_compiler1/fastdebug/tenuredGeneration.o"
      dbx: warning: can't find file "/PrtBuildDir/workspace/build/solaris/solaris_i486_compiler1/fastdebug/genCollectedHeap.o"
      dbx: warning: can't find file "/PrtBuildDir/workspace/build/solaris/solaris_i486_compiler1/fastdebug/collectorPolicy.o"
      dbx: warning: can't find file "/PrtBuildDir/workspace/build/solaris/solaris_i486_compiler1/fastdebug/vm_operations.o"
      dbx: warning: can't find file "/PrtBuildDir/workspace/build/solaris/solaris_i486_compiler1/fastdebug/vmThread.o"
      dbx: warning: can't find file "/PrtBuildDir/workspace/build/solaris/solaris_i486_compiler1/fastdebug/os_solaris.o"
      (dbx) where
        [1] __sigprocmask(0x0, 0x4, 0xdfb99000), at 0xdfb86971
        [2] _resetsig(), at 0xdfb7d4b5
        [3] _sigon(), at 0xdfb7cdbe
        [4] _lmutex_unlock(0xdfba0310), at 0xdfb7a7d0
        [5] _thrp_kill(), at 0xdfb7f477
        [6] _ti_thr_kill(0x4, 0x6), at 0xdfb7f368
        [7] raise(0x6), at 0xdfafb6ff
        [8] abort(), at 0xdfaebb30
        [9] os::abort(0x1), at 0xde4fa24d
        [10] VMError::report_and_die(0xddf405b4), at 0xde5e0555
        [11] report_assertion_failure(0xdecd3512, 0x8b, 0xdecd34c6), at 0xde1eb15d
      =>[12] TenuredGeneration::compute_new_size(0x80becf8), at 0xde58b62e
        [13] GenCollectedHeap::do_collection(0x80bbcc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x803fd7c), at 0xde21029a
        [14] TwoGenerationCollectorPolicy::satisfy_failed_allocation(), at 0xde1a9f4a
        [15] GenCollectedHeap::satisfy_failed_allocation(0x80bbcc0, 0x4, 0x0, 0x0, 0x803fd7c), at 0xde210671
        [16] VM_GenCollectForAllocation::doit(0x803fd60), at 0xde5f423c
        [17] VM_Operation::evaluate(), at 0xde5f3daf
        [18] VMThread::evaluate_operation(0x80e64e0, 0x803fd60), at 0xde5f2b41
        [19] VMThread::loop(0x80e64e0), at 0xde5f31ae
        [20] VMThread::run(0x80e64e0), at 0xde5f282f
        [21] _start(0x80e64e0, 0xde4f8df0), at 0xde4f8eca

            jcoomes John Coomes (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: