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

TestStress*.java fail with "got different traces for the same seed"

XMLWordPrintable

    • b25
    • 20
    • b26
    • os_x

      compiler/debug/TestStressCM.java and compiler/debug/TestStressIGVNAndCCP.java fail with "java.lang.RuntimeException: got different [CCP/code motion] traces for the same seed..."

      The regression seems to be due to the introduction of non-determinism in the node dumps of otherwise identical compilations.

      E.g. one run dumps

      282 ConI \=\=\= 0 [[ 229 ]] \#int\:6 java/lang/Class (java/io/Serializable,java/lang/constant/Constable,java/lang/reflect/AnnotatedElement,java/lang/invoke/TypeDescriptor,java/lang/reflect/GenericDeclaration,java/lang/reflect/Type,java/lang/invoke/TypeDescriptor$OfField)\:exact *

      while the next (identical) run dumps

      282 ConI \=\=\= 0 [[ 229 ]] \#int\:6 java/lang/Class (java/lang/reflect/AnnotatedElement,java/lang/invoke/TypeDescriptor,java/lang/reflect/GenericDeclaration,java/lang/reflect/Type,java/lang/invoke/TypeDescriptor$OfField,java/io/Serializable,java/lang/constant/Constable)\:exact *

      So far, the failure has only been observed in macosx builds (both x64 and aarch64).

            roland Roland Westrelin
            rcastanedalo Roberto Castaneda Lozano
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: