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

assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if

    Details

    • Subcomponent:
    • Resolved In Build:
      b09
    • CPU:
      x86
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        The applcation crashes VM. (-d64 -server -XX:-UseCompressedOops -XX:+UseParallelGC -XX:+AggressiveOpts -XX:CompileThreshold=100 -XX:+UseCodeCacheFlushing)
        See comments for details.
        ; Using jvm: "/export/local/common/jdk/baseline/solaris-amd64/jre/lib/amd64/server/libjvm.so"
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/BUILD_AREA/jdk7/hotspot/src/share/vm/opto/parse2.cpp:826), pid=21949, tid=16
        # assert((cnt> 0.0f) && (prob> 0.0f)) failed: Bad frequency assignment in if
        #
        # JRE version: 7.0
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b06-fastdebug mixed mode solaris-amd64 )
        # If you would like to submit a bug report, please visit:
        # http://java.sun.com/webapps/bugreport/crash.jsp
        #

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

        Current thread (0x0000000000ece000): JavaThread "CompilerThread1" daemon [_thread_in_native, id=16, stack(0xfffffd7df1540000,0xfffffd7df1640000)]

        Stack: [0xfffffd7df1540000,0xfffffd7df1640000], sp=0xfffffd7df163c920, free space=1010k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x222fe05];; void VMError::report(outputStream*)+0x6c5
        V [libjvm.so+0x2230eac];; void VMError::report_and_die()+0x4d8
        V [libjvm.so+0xb8d14b];; void report_vm_error(const char*,int,const char*,const char*)+0x55f
        V [libjvm.so+0x1cfbe00];; float Parse::branch_prediction(float&,BoolTest::mask,int)+0xb5c
        V [libjvm.so+0x1cfdece];; void Parse::do_if(BoolTest::mask,Node*)+0xe6
        V [libjvm.so+0x1d00fb5];; void Parse::do_one_bytecode()+0x2e1
        V [libjvm.so+0x1cd4fea];; void Parse::do_one_block()+0x576
        V [libjvm.so+0x1cc7196];; void Parse::do_all_blocks()+0xede
        V [libjvm.so+0x1cc5ca5];; Parse::Parse(JVMState*,ciMethod*,float)+0xa2d
        V [libjvm.so+0x78e672];; JVMState*ParseGenerator::generate(JVMState*)+0x102
        V [libjvm.so+0x9fad7c];; Compile::Compile(ciEnv*,C2Compiler*,ciMethod*,int,bool,bool)+0xfe0
        V [libjvm.so+0x78d38b];; void C2Compiler::compile_method(ciEnv*,ciMethod*,int)+0x117
        V [libjvm.so+0xa1d26f];; void CompileBroker::invoke_compiler_on_method(CompileTask*)+0x1213
        V [libjvm.so+0xa1b202];; void CompileBroker::compiler_thread_loop()+0xea2
        V [libjvm.so+0x20ede65];; void JavaThread::thread_main_inner()+0x195
        V [libjvm.so+0x20edab6];; void JavaThread::run()+0x61e
        V [libjvm.so+0x1c5475e];; java_start+0x6a6
        C [libc.so.1+0xd6e3b] _thr_slot_offset+0x31b;; _thr_setup+0x5b
        C [libc.so.1+0xd7070] _thr_slot_offset+0x550;; _lwp_start+0x0

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iveresov Igor Veresov
                  Reporter:
                  lmesnik Leonid Mesnik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: