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

REGRESSION : 1.3.1_06 C2 crashes while widen the range check of an IF node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.3.1_08
    • 1.3.1_06
    • hotspot
    • None
    • 08
    • x86, sparc
    • solaris_8, windows_xp

      Customer Problem Description:
      -----------------------------
      We are seeing several VM crashes while deploying J2EE CTS jdbc tests
      on Sybase App Server (on both Windows XP Professional version 2002 and Windows NT SP6). The crash does not seem to happen with C1 or with -Xint flag. The crash is not seen with JDK 1.3.1_01 Server or Client VM.

      We also tried jdk1.3.1_01 and jdk1.4.1_01 with both server and client VM. Only jdk1.3.1_06-b01 server has this problem. It hit this problem very consistently.
      I tried 6 times and hit the problem 5 times.

      I could start EAServer inside VC++ but it changed the timing and could not reproduce the problem that way. Neither could I reproduce the problem running debug version.

      I tried it 5 times with 1.3.1_06 -Xint and the problem did not show up.

      Here is the stack trace. I got few stack traces and they all
      have the same lines.

      adjust_check(Node * 0x04508c38, Node * 0x04dacf48, Node * 0x0450968c, int 1, int
      1, PhaseIterGVN * 0x041ff3f0) line 447 + 32 bytes
      IfNode::Ideal(PhaseGVN * 0x041ff3f0, PhaseDefUse * 0x041ff510) line 652 + 29
      bytes
      PhaseIterGVN::transform_old(Node * 0x04dacfb4) line 793 + 27 bytes
      PhaseIterGVN::optimize() line 705 + 15 bytes
      Compile::Optimize() line 916
      Compile::Compile(ciEnv * 0x041ffe4c, ciScope * 0x01badeb4, ciMethod *
      0x01baddc8, int -1, long 1, long 0) line 407
      C2Compiler::compile_method(ciEnv * 0x041ffe4c, ciScope * 0x01badeb4, ciMethod *
      0x01baddc8, int -1, long 0) line 31
      CompileBroker::invoke_compiler_on_method(CompileTask * 0x04ed68c0) line 1132
      CompileBroker::compiler_thread_loop() line 1039 + 9 bytes
      compiler_thread_entry(JavaThread * 0x01b80800, Thread * 0x01b80800) line 2107
      JavaThread::thread_main_inner() line 1162 + 18 bytes
      JavaThread::run() line 1149
      _start(Thread * 0x01b80800) line 236
      MSVCRT! 77c37fb8()
      KERNEL32! 77e802ed()


      Attached is the log from -XX:+PrintCompilation

            arorcl Anupam R (Inactive)
            cprasadsunw Ck Prasad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: