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

Beta : Build B: -XX:+PoisonOSREntry -version fails with assert.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 2.0
    • hotspot
    • x86
    • windows_nt

      Operating system : Windows NT and 95

      Mode : -Xcomp.

      Flags : -XX:+PoisonOSREntry -XX:OnStackReplaceThreshold=3

      Test Failed :
      jit/symcjit/4176052/Test compile_and_execute
      conformance/collection/ArrayListTests/ArrayListTests001 execute_positive
      conformance/collection/ArrayListTests/ArrayListTests002 execute_positive
      conformance/collection/ArrayListTests/ArrayListTests003 execute_positive
      conformance/collection/HashMapTests/HashMapTests001 execute_positive
      conformance/collection/HashMapTests/HashMapTests002 execute_positive
      conformance/collection/HashMapTests/HashMapTests003 execute_positive
      conformance/collection/HashSetTests/HashSetTests001 execute_positive
      conformance/collection/HashSetTests/HashSetTests002 execute_positive
      conformance/collection/HashSetTests/HashSetTests003 execute_positive
      conformance/collection/LinkedListTests/LinkedListTests001 execute_positive
      conformance/collection/LinkedListTests/LinkedListTests002 execute_positive
      conformance/collection/LinkedListTests/LinkedListTests003 execute_positive
      conformance/collection/MapTests/HashMap001 execute_positive
      conformance/collection/MapTests/HashMap002 execute_positive
      conformance/collection/MapTests/HashMap003 execute_positive
      conformance/collection/MapTests/HashTable001 execute_positive
      conformance/collection/MapTests/HashTable002 execute_positive
      conformance/collection/MapTests/HashTable003 execute_positive
      conformance/collection/MapTests/WeakHashMap2001 execute_positive
      conformance/collection/MapTests/WeakHashMap2002 execute_positive
      conformance/collection/MapTests/WeakHashMap2003 execute_positive
      conformance/collection/SerializationTests/ListSerializeTests/ArrayList001 execute_positive
      conformance/collection/SerializationTests/ListSerializeTests/ArrayList002 execute_positive
      conformance/collection/SerializationTests/ListSerializeTests/ArrayList003 execute_positive
      conformance/collection/SerializationTests/ListSerializeTests/LinkedList001 execute_positive
      conformance/collection/SerializationTests/ListSerializeTests/LinkedList002 execute_positive
      conformance/collection/SerializationTests/ListSerializeTests/LinkedList003 execute_positive
      conformance/collection/SerializationTests/ListSerializeTests/Vector001 execute_positive
      conformance/collection/SerializationTests/ListSerializeTests/Vector002 execute_positive
      conformance/collection/SerializationTests/ListSerializeTests/Vector003 execute_positive

      Steps to reproduce :
      1. Install JDK 122 FCS.
      2. Install Hotspot 2.0 Beta build B
      3. Make a testlist of the above failures.
      4. Use the flag mentioned in Flags.
      5. Run the tests using Tonga.

      NOTE : All the logivity tests also fail with the same assert.

      Output with java_g
      VM option '+PoisonOSREntry'
      VM option 'OnStackReplaceThreshold=3'
      #
      # HotSpot Virtual Machine Error, assertion failure
      #
      # assert((offset != Type::OffsetBot && tj->_base != Type::AryPtr) || (offset ==
      Type::OffsetBot && tj->_base == Type::AryPtr) || (offset == 0 && tj->_base == Ty
      pe::AryPtr) || (offset == 4 && tj->_base == Type::AryPtr) || (offset == 8 && tj-
      >_base == Type::AryPtr), "For oops, klasses, raw offset must be constant; for ar
      rays the offset is never known")
      #
      # Error happened during: method compilation
      #
      # compiling concurrency/tools/ConcurrencyEngine.parseAndInitArguments
      #
      # Error ID: C:/hotspot\src\share\vm\opto\compile.cpp, 590
      #

            tturnidgsunw Todd Turnidge (Inactive)
            udhanikoorcl Uday Dhanikonda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: