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

Hangs with "-XX:CompileThreshold=2 -version"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.1
    • hotspot
    • beta
    • sparc
    • solaris_8
    • Verified



      Name: kb87695 Date: 10/05/2001


      Hang occurs with the following version: (Both Client and Server)

      java version "1.3.1-rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-rc1-b19)
      Java HotSpot(TM) Server VM (build 1.3.1-rc1-b19-debug, compiled mode)

      Problem also occurs with client VM.
      Problem does not occur with -Xcomp.
      Problem appears to be fixed in 1.4

      Here's the command line:

      $ java -server -XX:CompileThreshold=2 -version

      Here's some tracing output:

      $ java_g -server -XX:CompileThreshold=2 -XX:+TraceClassInitialization -XX:+TraceInvocationCounterOverflow -version
      VM option 'CompileThreshold=2'
      VM option '+TraceClassInitialization'
      VM option '+TraceInvocationCounterOverflow'
      0 Initializing 'java/lang/Object' (0xf60030c8)
      1 Initializing 'java/lang/String' (0xf6007398)
      2 Initializing 'java/lang/String$CaseInsensitiveComparator'(no method) (0xf603fff8)
      3 Initializing 'java/lang/System' (0xf6041cc0)
      cntr ovfl @ 0 in entry of {method} 'currentTimeMillis' '()J' in 'java/lang/System'
      invocation count: up = 2, limit = 2, carry = false, state = wait_for_compile
      cntr ovfl @ 0 in entry of {method} 'currentTimeMillis' '()J' in 'java/lang/System'
      invocation count: up = 2, limit = 2, carry = false, state = wait_for_compile
      cntr ovfl @ 0 in entry of {method} 'currentTimeMillis' '()J' in 'java/lang/System'
      invocation count: up = 2, limit = 2, carry = false, state = wait_for_compile
      cntr ovfl @ 0 in entry of {method} 'currentTimeMillis' '()J' in 'java/lang/System'
      ...

      This is not an urgent problem but we would like the fix.
      (Review ID: 127880)
      ======================================================================

            busersunw Btplusnull User (Inactive)
            kevibrow Kevin Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: