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

vtest crashed with fastdebug build after Codecache was full

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 6
    • 6
    • hotspot
    • None
    • sparc
    • solaris


      With fastdebug build from /net/prt-archiver/export2/archived_workspaces/main/baseline/2005/20050609171452.kbr.c2_to_main_baseline, vtest crashed within 10 iterations.

      Machine: ultrajaguar.sfbay
      # uname -a
      SunOS ultrajaguar 5.9 Generic_112233-03 sun4u sparc SUNW,Ultra-4
      Flags used: -server -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+DeoptimizeALot -XX:+SafepointALot

      hs_err_pid file is attached.
      (dbx) where
      current thread: t@12
      =>[1] __lwp_kill(0x0, 0x6, 0x0, 0xff33a000, 0xfe01fba8, 0xedf624), at 0xff31d848
        [2] raise(0x6, 0x0, 0xe1e7d620, 0xe1e7d6a0, 0x30930, 0x30800), at 0xff2cc7b4
        [3] abort(0xe1e7d6c0, 0xfec02e1f, 0x15, 0x11, 0x0, 0x1), at 0xff2b5778
        [4] os::abort(0x2f400, 0xe1e7d6c0, 0xfe01fccc, 0xfefa7098, 0xfefa7098, 0x1), at 0xfe014898
        [5] VMError::report_and_die(0x2f400, 0xfefbde9a, 0xfee7c8df, 0xfeed9d98, 0xfefbde9a, 0x1), at 0xfe2e5164
        [6] JVM_handle_solaris_signal(0x21400, 0x216a8, 0xe1e7dba0, 0x1, 0x1d4c10, 0xfd6ffbbc), at 0xfe01e438
        [7] __sighndlr(0xb, 0xe1e7de58, 0xe1e7dba0, 0xfe01a498, 0x0, 0x0), at 0xff3860a0
        [8] call_user_handler(0xb, 0xe1e7de58, 0xe1e7dba0, 0x0, 0x0, 0x0), at 0xff37fdd8
        [9] sigacthandler(0xb, 0xe1e7de58, 0xe1e7dba0, 0xfdfbba24, 0xee8c48, 0x17fb800), at 0xff37ff88
        ---- called from signal handler with signal 11 (SIGSEGV) ------
        [10] ciEnv::post_compiled_method_load_event(0xe1e7eaec, 0x0, 0xff01b1e8, 0x51728, 0xfeb8a23c, 0x2c400), at 0xfd6ffbbc
        [11] ciEnv::register_method(0xe1e7eaec, 0x31400, 0xfef86428, 0x1d4c10, 0x1, 0x2c000), at 0xfd6ff9e0
        [12] Compile::Compile(0x2c000, 0x90c8, 0x1ca1f8, 0xe1e7eaec, 0x2c598, 0xe1e7e8e8), at 0xfd814e6c
        [13] C2Compiler::compile_method(0x1ca1f8, 0xe1e7eaec, 0x1cd7d50, 0xffffffff, 0xfe4f3cb8, 0xfeefb6f8), at 0xfd6afe40
        [14] CompileBroker::invoke_compiler_on_method(0x28ccc0, 0x651, 0x9400, 0xfefb168c, 0x1cd7d50, 0x1d4c10), at 0xfd82b748
        [15] CompileBroker::compiler_thread_loop(0xfef86428, 0x28ccc0, 0x1d4c10, 0xf37305c0, 0x0, 0x1d47f0), at 0xfd8288bc
        [16] JavaThread::thread_main_inner(0x1d4c10, 0xfef86407, 0x31000, 0xff3, 0x1d4cc8, 0xfedfc095), at 0xfe1fbe14
        [17] _start(0x1d4c10, 0x2, 0xfefa660c, 0x21400, 0xfeefb6f8, 0x1d5ae0), at 0xfe012e3c

      Right before the crash, server log showed that Codecache was full.

      tail vtestserver.out
      Java HotSpot(TM) Server VM warning: CodeCache is full. Compiler has been disable
      d
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0xfd6ffbbc, pid=20280, tid=12
      #
      # Java VM: Java HotSpot(TM) Server VM (20050609171452.kbr.c2_to_main_baseline-de
      bug mixed mode)
      # Problematic frame:
      # V [libjvm.so+0x2ffbbc]
      #
      # An error report file with more information is saved as hs_err_pid20280.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Current thread is 12
      Dumping core ...

      The same crash occured on another machine jrasdb.sfbay
      # uname -a
      SunOS jrasdb 5.10 Generic_118822-04 sun4u sparc SUNW,Ultra-Enterprise
      The crash also happened right after codecache was filled up.

      How to reproduce the bug:
      1. log on to ultrajaguar.sfbay
      2. export JAVA_HOME=<your java home>
      3. /bs/runvtest.ksh -server -XX:+DeoptimizeALot -XX:+SafepointALot
      ###@###.### 2005-06-13 21:14:39 GMT

            jrose John Rose
            jzhongsunw June Zhong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: