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

applications/ctw/modules/java_desktop_2.java fails intermittently with assert(!n->is_SpillCopy()) failed

    Details

    • Subcomponent:
    • OS:
      linux, os_x

      Description

      Observed twice on different Mac OSX machines.

      Please refer to the output below. Both failures are because of compilation error of sun/font/TrueTypeFont.


      ----------System.out:(10/8587)----------
      Compiling 2957 classes (of 5914 total classes) starting at 2957 and ending at 5914
      Command line: [/scratch/mesos/jib-master/install/jdk11-jdk.784/macosx-x64-debug.jdk/jdk-11/fastdebug/bin/java -cp /scratch/mesos/jib-master/install/jdk11-jdk.784/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2/test/lib:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2/testlibrary/ctw/src:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Xbatch -XX:-UseCounterDecay -XX:-ShowMessageBoxOnError -XX:+UnlockDiagnosticVMOptions -DCompileTheWorldStartAt=2957 -DCompileTheWorldStopAt=5914 -XX:+WhiteBoxAPI -Xbootclasspath/a:. --add-exports java.base/jdk.internal.jimage=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/jdk.internal.reflect=ALL-UNNAMED -XX:+LogCompilation -XX:LogFile=hotspot_modules_java_desktop_2957_%p.log -XX:ErrorFile=hs_err_modules_java_desktop_2957_%p.log -XX:ReplayDataFile=replay_modules_java_desktop_2957_%p.log -XX:CompileCommand=exclude,java/lang/invoke/MethodHandle.* sun.hotspot.tools.ctw.CompileTheWorld modules:java.desktop ]
      modules_java_desktop_2957 22288845596ms START : [/scratch/mesos/jib-master/install/jdk11-jdk.784/macosx-x64-debug.jdk/jdk-11/fastdebug/bin/java -cp /scratch/mesos/jib-master/install/jdk11-jdk.784/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2/test/lib:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2/testlibrary/ctw/src:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Xbatch -XX:-UseCounterDecay -XX:-ShowMessageBoxOnError -XX:+UnlockDiagnosticVMOptions -DCompileTheWorldStartAt=2957 -DCompileTheWorldStopAt=5914 -XX:+WhiteBoxAPI -Xbootclasspath/a:. --add-exports java.base/jdk.internal.jimage=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/jdk.internal.reflect=ALL-UNNAMED -XX:+LogCompilation -XX:LogFile=hotspot_modules_java_desktop_2957_%p.log -XX:ErrorFile=hs_err_modules_java_desktop_2957_%p.log -XX:ReplayDataFile=replay_modules_java_desktop_2957_%p.log -XX:CompileCommand=exclude,java/lang/invoke/MethodHandle.* sun.hotspot.tools.ctw.CompileTheWorld modules:java.desktop]
      cout/cerr are redirected to modules_java_desktop_2957
      modules_java_desktop_2957 22289142269ms END : exit code = 134
      Command line: [/scratch/mesos/jib-master/install/jdk11-jdk.784/macosx-x64-debug.jdk/jdk-11/fastdebug/bin/java -cp /scratch/mesos/jib-master/install/jdk11-jdk.784/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2/test/lib:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2/testlibrary/ctw/src:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Xbatch -XX:-UseCounterDecay -XX:-ShowMessageBoxOnError -XX:+UnlockDiagnosticVMOptions -DCompileTheWorldStartAt=5079 -DCompileTheWorldStopAt=5914 -XX:+WhiteBoxAPI -Xbootclasspath/a:. --add-exports java.base/jdk.internal.jimage=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/jdk.internal.reflect=ALL-UNNAMED -XX:+LogCompilation -XX:LogFile=hotspot_modules_java_desktop_5079_%p.log -XX:ErrorFile=hs_err_modules_java_desktop_5079_%p.log -XX:ReplayDataFile=replay_modules_java_desktop_5079_%p.log -XX:CompileCommand=exclude,java/lang/invoke/MethodHandle.* sun.hotspot.tools.ctw.CompileTheWorld modules:java.desktop ]
      modules_java_desktop_5079 22289142780ms START : [/scratch/mesos/jib-master/install/jdk11-jdk.784/macosx-x64-debug.jdk/jdk-11/fastdebug/bin/java -cp /scratch/mesos/jib-master/install/jdk11-jdk.784/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2/test/lib:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2:/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/2c60df4e-f886-43af-ae4f-f6847af1bd7a/runs/6d1a4213-15c6-4318-b21a-87626dc297ad/testoutput/jtreg/JTwork/classes/2/testlibrary/ctw/src:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=6 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -Xbatch -XX:-UseCounterDecay -XX:-ShowMessageBoxOnError -XX:+UnlockDiagnosticVMOptions -DCompileTheWorldStartAt=5079 -DCompileTheWorldStopAt=5914 -XX:+WhiteBoxAPI -Xbootclasspath/a:. --add-exports java.base/jdk.internal.jimage=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/jdk.internal.reflect=ALL-UNNAMED -XX:+LogCompilation -XX:LogFile=hotspot_modules_java_desktop_5079_%p.log -XX:ErrorFile=hs_err_modules_java_desktop_5079_%p.log -XX:ReplayDataFile=replay_modules_java_desktop_5079_%p.log -XX:CompileCommand=exclude,java/lang/invoke/MethodHandle.* sun.hotspot.tools.ctw.CompileTheWorld modules:java.desktop]
      cout/cerr are redirected to modules_java_desktop_5079
      modules_java_desktop_5079 22289230716ms END : exit code = 0
      Executed CTW for all 2957 classes in modules:java.desktop(at /scratch/mesos/jib-master/install/jdk11-jdk.784/macosx-x64-debug.jdk/jdk-11/fastdebug/lib/modules)
      ----------System.err:(25/1708)----------
      There were 1 errors:[
      java.lang.Error: modules_java_desktop_2957: failed during compilation of class #5078 : sun/font/TrueTypeFont
      at sun.hotspot.tools.ctw.CtwRunner.startCtwforAllClasses(CtwRunner.java:217)
      at sun.hotspot.tools.ctw.CtwRunner.run(CtwRunner.java:119)
      at sun.hotspot.tools.ctw.CtwRunner.main(CtwRunner.java:65)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:832)

      java.lang.AssertionError: There were 1 errors:[{modules_java_desktop_2957: failed during compilation of class #5078 : sun/font/TrueTypeFont}]
      at sun.hotspot.tools.ctw.CtwRunner.run(CtwRunner.java:134)
      at sun.hotspot.tools.ctw.CtwRunner.main(CtwRunner.java:65)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:832)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kvn Vladimir Kozlov
                Reporter:
                xiaofeya Xiaofeng Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: