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

ciReplay: Errors while parsing replay_pid files

    XMLWordPrintable

    Details

      Description

      ReplayCompile could fail with following errors when parsing replay_pid files:
       1 - Failed on hidden class with comment expected
       2 - Failed on line not properly terminated
       3 - Failed on tag mismatch: wrong class files?
       4 - Failed on unknown command
           
      In case of error 4 the unknown command is "anceKlass". Looks like 'instanceKlass' command was cut of for some reason. Could it be because of JDK-8276965?


      To reproduce above issues run java/lang/String/CompactString/CharAt.java and java/lang/String/CompactString/CompareTo.java tests without any VM flags just to get these tests compiled:
      > $JT_HOME/bin/jtreg -jdk:$TESTED_JDK -retain:all open/test/jdk/java/lang/String/CompactString/CharAt.java
        $JT_HOME/bin/jtreg -jdk:$TESTED_JDK -retain:all open/test/jdk/java/lang/String/CompactString/CompareTo.java


      Then set classpath like:
      > CLASSPATH="JTwork/classes/java/lang/String/CompactString/CharAt.d:JTwork/classes/java/lang/String/CompactString/CompareTo.d:$JT_HOME/lib/testng.jar:$JT_HOME/lib/jcommander.jar:$JT_HOME/lib/guice.jar:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"

      And then run replay files one by one
      > $TESTED_JDK/bin/java -cp $CLASSPATH -XX:+ReplayCompiles -XX:ReplayDataFile=replay_bug_[N].log

      Note, replay_bug_N.log file is used to reproduce issue N.

        Attachments

        1. replay_bug_01.log
          159 kB
        2. replay_bug_02.log
          159 kB
        3. replay_bug_03.log
          184 kB
        4. replay_bug_04.log
          162 kB
        5. replay_bug8277301_01b.log
          121 kB

          Issue Links

            Activity

              People

              Assignee:
              dlong Dean Long
              Reporter:
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: