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

fastdebug c2 fails assertion on all platforms: Not an Int

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • hotspot
    • None
    • b53
    • 6
    • b62
    • generic
    • other
    • Verified

      The attached test case fails an assertion on all x86 and amd64 platforms.
      How to reproduce: java -server -Xcomp Tester_6749

      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (/BUILD_AREA/jdk6.0/hotspot/src/share/vm/opto/cfgnode.hpp, 130), pid=2653, tid=2894379952
      #
      # Java VM: Java HotSpot(TM) Server VM (1.6.0-ea-fastdebug-b56-debug compiled mode)
      #
      # Error: assert(r != __null && r->is_Region(),"Not valid control")

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

      Current thread (0x0811a000): JavaThread "CompilerThread1" daemon [_thread_in_native, id=2659]

      Stack: [0xac7cb000,0xac84c000), sp=0xac849e00, free space=507k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x8b1578]
      V [libjvm.so+0x3e0f95]
      V [libjvm.so+0x302350]
      V [libjvm.so+0x78c307]
      V [libjvm.so+0x78be8e]
      V [libjvm.so+0x393d7d]
      V [libjvm.so+0x39047e]
      V [libjvm.so+0x2ed3f6]
      V [libjvm.so+0x39ce6c]
      V [libjvm.so+0x39c457]
      V [libjvm.so+0x85a42c]
      V [libjvm.so+0x73b102]
      C [libpthread.so.0+0x528c]


      Current CompileTask:
      opto:288 b Tester_6749_Class_1.<init>()V (185 bytes)
      The attached program fails assertion on all platforms.
      How to reproduce: java -server -Xcomp Tester_3871

      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # Internal Error (/BUILD_AREA/jdk6.0/hotspot/src/share/vm/opto/type.hpp, 871), pid=2714, tid=2894842800
      #
      # Java VM: Java HotSpot(TM) Server VM (1.6.0-ea-fastdebug-b56-debug compiled mode)
      #
      # Error: assert(_base == Int,"Not an Int")

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

      Current thread (0x08118a00): JavaThread "CompilerThread0" daemon [_thread_in_native, id=2719]

      Stack: [0xac83c000,0xac8bd000), sp=0xac8baba0, free space=506k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x8b1578]
      V [libjvm.so+0x3e0f95]
      V [libjvm.so+0x3ccfe7]
      V [libjvm.so+0x78c589]
      V [libjvm.so+0x78be8e]
      V [libjvm.so+0x393d7d]
      V [libjvm.so+0x39047e]
      V [libjvm.so+0x2ed3f6]
      V [libjvm.so+0x39ce6c]
      V [libjvm.so+0x39c457]
      V [libjvm.so+0x85a42c]
      V [libjvm.so+0x73b102]
      C [libpthread.so.0+0x528c]


      Current CompileTask:
      opto:294 b Tester_3871.func_1(SZFC)F (482 bytes)

            rknippelsunw Ross Knippel (Inactive)
            iveresov Igor Veresov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: