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

[1.3.1_02] infinite loop in hotspot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.3.1_02, 1.3.1_08
    • hotspot
    • generic, sparc
    • solaris_8

      Attached is a gcore and a pstack.

      Customer issue: process stopped servicing requests.
      1 thread is compiling, and 59 waiting for compiler.
      Looks similar to 4800683.

      Process is .kjs (wrapper around java) for ias6.5mu1, jdk 1.3.1_02-b02

      Threads waiting on compiler (59 times):
        Monitor::wait
         CompileBroker::wait_for_completion
         CompileBroker::compile_method_base
         CompileBroker::compile_method
         Recompilation::methodOop_invocation_counter_overflow
         InterpreterRuntime::invocation_counter_overflow

      Thread compiling:
         split_if
         IfNode::Ideal
         PhaseIterGVN::transform_old
         PhaseIterGVN::optimize
         Compile::Optimize
         Compile::Compile
         C2Compiler::compile_method
         CompileBroker::invoke_compiler_on_method
         CompileBroker::compiler_thread_loop

      Name: tb29552 Date: 07/23/2003


      FULL PRODUCT VERSION :
      $ /usr/local/java/1.3.1_08/bin/java -version
      java version "1.3.1_08"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_08-b03)
      Java HotSpot(TM) Client VM (build 1.3.1_08-b03, mixed mode)

      FULL OS VERSION :
      $uname -a
      SunOS sol4 5.8 Generic_108528-21 sun4u sparc SUNW,Sun-Fire-880

      A DESCRIPTION OF THE PROBLEM :
      During the executino of our application, the java HotSpot Compiler goes into
      an infinite loop trying to compile a method. After the application finishes,
      CPU Utilization is very high due to the fact the compiler is in an infinite
      loop.

      There are many methods we are needing to exclude because of this or
      hotspot core dumps. This is a very high performance application, and we
      cannot afford to be excluding lots of methods. This particular method
      is a backbone method for a part of our application (see workaround below).

      Here is the pstack output for the offending thread:

      ----------------- lwp# 9 / thread# 9 --------------------
       fed06804 __1cIsplit_if6FpnGIfNode_pnMPhaseIterGVN_pnLPhaseDefUse__pnENode__ (ff0c6000, ef094, a5163c, ef918, efb70, b537f3f4) + 143
      c
       fecfd19c __1cGIfNodeFIdeal6MpnIPhaseGVN_pnLPhaseDefUse__pnENode__ (ff0c6000, b537f3d4, b537f3cc, b537f3cc, b537f3cc, efab0) + dc
       fecc0fcc __1cMPhaseIterGVNNtransform_old6MpnENode__2_ (b537f3cc, b537f3cc, efab0, b537f4ec, efab0, b537f3f4) + a4
       fed736ac __1cMPhaseIterGVNIoptimize6M_v_ (794, b3d598, 0, b3d580, 7, f0c40) + b4
       fedcccf8 __1cHCompileIOptimize6M_v_ (b537fa08, b537f840, b537fa08, b537f864, 0, b537f664) + 114
       fedcba84 __1cHCompile2t6MpnFciEnv_pnHciScope_pnIciMethod_ill_v_ (6c0640, b537fa88, 5f2144, ff12783c, b537fb28, b537fb38) + 848
       fedc7668 __1cKC2CompilerOcompile_method6MpnFciEnv_pnHciScope_pnIciMethod_il_v_ (278d0, b537fd84, 5f2144, 5f2018, ffffffff, 1) + 70
       fedc7c6c __1cNCompileBrokerZinvoke_compiler_on_method6FpnLCompileTask__v_ (5f2018, 5f2144, ff0e8e70, 0, 0, 1e1) + 40c
       fee80da4 __1cNCompileBrokerUcompiler_thread_loop6F_v_ (29120, 25dda8, ff0c6000, b537ffa0, ff0c6000, ffffffff) + 168
       fee16620 __1cKJavaThreadDrun6M_v_ (b5180000, ff0d1e38, ff0c6000, 200000, 25dda8, 200000) + 3d8
       fee142e8 _start (ff0c6000, ff190e00, 0, 0, 0, 0) + 20
       ff374970 _lwp_start (0, 0, 0, 0, 0, 0)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      exclude com/prosrm/oandd/optimizer/AURule processSegBasedFlight
      (Review ID: 192365)
      ======================================================================

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: