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

NEWHPROF: Problems with monitor_contended_exit, remove request for this event

XMLWordPrintable

    • b40
    • generic
    • generic

      cruella<10> myjava_g -Xrunhprof:cpu=times,monitor=y,file=hhh Context 10 10000
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/handles.cpp:15]
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (/home/ohair/ws/kto_base_hotspot/src/share/vm/runtime/handles.cpp, 15 [ Patched ]), pid=4464, tid=18
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-kto_base_hotspot-fastdebug-01-27T20-52-debug mixed mode)
      #
      # Error: assert(_no_handle_mark_nesting == 0,"allocating handle inside NoHandleMark")
      # An error report file with more information is saved as hs_err_pid4464.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      Current thread is 18
      Dumping core ...
      HPROF SIGNAL 6 TERMINATED PROCESS
      HPROF DUMPING CORE
      Abort (core dumped)
      cruella<11> dbx - core
      Corefile specified executable: "/home/ohair/ws/kto_j2se/build/solaris-sparc/bin/java_g"
      Reading java_g
      dbx: internal warning: writable memory segment 0xfdb10000[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 libc_psr.so.1
      Reading libjvm_g.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 librt.so.1
      Reading libaio.so.1
      Reading libmd5.so.1
      Reading libmd5_psr.so.1
      Reading libhpi_g.so
      Reading libhprof_g.so
      Reading libverify_g.so
      Reading libjava_g.so
      Reading libzip_g.so
      detected a multithreaded program
      t@18 (l@18) terminated by signal ABRT (Abort)
      0xff31d998: __lwp_kill+0x0008: bgeu,a __lwp_kill+0x1c
      Current function is error_abort
         49 abort(); /* Sends SIGABRT signal, usually also caught by libjvm */
      (dbx) w
      current thread: t@18
      dbx: warning: undefined type number (0,3011) at /net/cruella.sfbay/export/home4/ws/kto_j2se/build/solaris-sparc/lib/sparc/client/libjvm_g.so:/home/ohair/ws/kto_base_hotspot/src/share/vm/c1/c1_Runtime1.cpp stab #6474 this:p(0,3011),
      assuming type `(int {assumed})'
      dbx: warning: undefined type number (0,3024) at /net/cruella.sfbay/export/home4/ws/kto_j2se/build/solaris-sparc/lib/sparc/client/libjvm_g.so:/home/ohair/ws/kto_base_hotspot/src/share/vm/c1/c1_Runtime1.cpp stab #7046 this:p(0,3024),
      assuming type `(int {assumed})'
      dbx: warning: undefined type number (0,2504) at /net/cruella.sfbay/export/home4/ws/kto_j2se/build/solaris-sparc/lib/sparc/client/libjvm_g.so:/home/ohair/ws/kto_base_hotspot/src/share/vm/prims/jvm.cpp stab #5852 buf:p(0,2504),
      assuming type `(int {assumed})'
      dbx: warning: undefined type number (0,2516) at /net/cruella.sfbay/export/home4/ws/kto_j2se/build/solaris-sparc/lib/sparc/client/libjvm_g.so:/home/ohair/ws/kto_base_hotspot/src/share/vm/prims/jvm.cpp stab #8509 this:p(0,2516),
      assuming type `(int {assumed})'
      dbx: warning: undefined type number (0,2517) at /net/cruella.sfbay/export/home4/ws/kto_j2se/build/solaris-sparc/lib/sparc/client/libjvm_g.so:/home/ohair/ws/kto_base_hotspot/src/share/vm/prims/jvm.cpp stab #8514 this:p(0,2517),
      assuming type `(int {assumed})'
      dbx: warning: undefined type number (0,2690) at /net/cruella.sfbay/export/home4/ws/kto_j2se/build/solaris-sparc/lib/sparc/client/libjvm_g.so:/home/ohair/ws/kto_base_hotspot/src/share/vm/runtime/thread.cpp stab #6645 this:p(0,2690),
      assuming type `(int {assumed})'
        [1] __lwp_kill(0x0, 0x6, 0x0, 0xff33a000, 0xff284b18, 0x5), at 0xff31d998
        [2] raise(0x6, 0x0, 0xf1c7e598, 0xff33a000, 0x0, 0x0), at 0xff2cc804
        [3] abort(0xfdb64ed0, 0x0, 0xf1c7e678, 0x0, 0x0, 0x0), at 0xff2b57b0
      =>[4] error_abort(), line 49 in "hprof_error.c"
        [5] signal_handler(sig = 6), line 57 in "hprof_error.c"
        [6] __sighndlr(0x6, 0x0, 0xf1c7e858, 0xfdb30fa0, 0x0, 0x0), at 0xff3860a0
        [7] call_user_handler(0x6, 0x0, 0xf1c7e858, 0x0, 0x0, 0x0), at 0xff37fdd8
        [8] sigacthandler(0x6, 0x0, 0xf1c7e858, 0xff33a000, 0x204, 0xf), at 0xff37ff88
        ---- called from signal handler with signal 6 (SIGABRT) ------
        [9] __lwp_kill(0x0, 0x6, 0x5, 0xff33a000, 0x204, 0xf), at 0xff31d998
        [10] raise(0x6, 0x6, 0xf1c7ebd0, 0x0, 0x26, 0x11), at 0xff2cc804
        [11] abort(0xf1c7ec70, 0xfed9b411, 0x1, 0x1, 0xb493b0, 0x1b400), at 0xff2b5770
        [12] os::abort(dump_core = ???) (optimized), at 0xfe40f324 (line ~1431) in "os_solaris.cpp"
        [13] VMError::report_and_die(this = ???) (optimized), at 0xfe574bc8 (line ~511) in "vmError.cpp"
        [14] report_assertion_failure(file_name = ???, line_no = ???, message = ???) (optimized), at 0xfdf4f194 (line ~207) in "debug.cpp"
        [15] OopMapSet::find_map_at_offset(this = ???, pc_offset = ???, at_call = ???) (optimized), at 0xfe40136c (line ~312) in "oopMap.cpp"
        [16] OopMapSet::update_register_map(fr = ???, cb = ???, reg_map = ???) (optimized), at 0xfe401ebc (line ~446) in "oopMap.cpp"
        [17] frame::sender_with_pc_adjustment(this = ???, map = ???, cb = ???, adjust_pc = ???) (optimized), at 0xfdf85d3c (line ~310) in "frame_sparc.cpp"
        [18] VMError::report(this = ???, st = ???) (optimized), at 0xfe57381c (line ~184) in "vmError.cpp"
        [19] VMError::report_and_die(this = ???) (optimized), at 0xfe5744ac (line ~511) in "vmError.cpp"
        [20] report_assertion_failure(file_name = ???, line_no = ???, message = ???) (optimized), at 0xfdf4f194 (line ~207) in "debug.cpp"
        [21] Handle::Handle(this = ???, thread = ???, obj = ???) (optimized), at 0xfdfae1b8 (line ~20) in "handles.cpp"
        [22] JvmtiExport::post_monitor_contended_exit(thread = ???, obj_mntr = ???) (optimized), at 0xfe34f2e0 (line ~1960) in "jvmtiExport.cpp"
        [23] ObjectMonitor::exit(this = ???, __the_thread__ = ???) (optimized), at 0xfe3f8f30 (line ~442) in "objectMonitor_solaris.cpp"
        [24] Runtime1::monitorexit(thread = ???, lock = ???) (optimized), at 0xfde45154 (line ~582) in "c1_Runtime1.cpp"
        [25] 0xfa8ed534(0xf242eaa8, 0x20000009, 0xb, 0x22cc88, 0x22cc60, 0x2), at 0xfa8ed533
        [26] 0xfa90910c(0xf24306e0, 0xfa908648, 0xfa908ef8, 0xfa908648, 0xfe97780c, 0x0), at 0xfa90910b
        [27] 0xfa909eb8(0x3b, 0xf1c7fe94, 0x3a, 0xfa820f90, 0x21f70, 0xf1c7fb58), at 0xfa909eb7
        [28] 0xfa8001c8(0xf1c7fc44, 0xf1c7fe88, 0xa, 0xf6562460, 0xfa80de40, 0xf1c7fdb0), at 0xfa8001c7
        [29] JavaCalls::call_helper(result = ???, m = ???, args = ???, __the_thread__ = ???) (optimized), at 0xfe02a988 (line ~293) in "javaCalls.cpp"
        [30] JavaCalls::call_virtual(result = ???, spec_klass = CLASS, name = CLASS, signature = CLASS, args = ???, __the_thread__ = ???) (optimized), at 0xfe02964c (line ~171) in "javaCalls.cpp"
        [31] JavaCalls::call_virtual(result = ???, receiver = CLASS, spec_klass = CLASS, name = CLASS, signature = CLASS, __the_thread__ = ???) (optimized), at 0xfe029700 (line ~186) in "javaCalls.cpp"
        [32] thread_entry(thread = ???, __the_thread__ = ???) (optimized), at 0xfe14d4c4 (line ~2244) in "jvm.cpp"
        [33] JavaThread::thread_main_inner(this = ???) (optimized), at 0xfe4fd894 (line ~1315) in "thread.cpp"
        [34] _start(data = ???) (optimized), at 0xfe40d8fc (line ~744) in "os_solaris.cpp"
      (dbx) exit

            ohair Kelly Ohair (Inactive)
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: