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

[lworld] TestArrayAccessDeopt fails with RuntimeException: 'Uncommon trap occurred'

XMLWordPrintable

      java version "16-valhalla" 2021-03-16
      Java(TM) SE Runtime Environment (fastdebug build 16-valhalla+1-118)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 16-valhalla+1-118, mixed mode)
       stdout: [Uncommon trap bci=3 pc=0x00007f0fa460844c, relative_pc=0x000000000000022c, method=TestArrayAccessDeopt.test1([Ljava/lang/Object;Ljava/lang/Object;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test1 compiler=c2 compile_id=12 (@0x00007f0fa460844c) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb4549830 mode 2
           {method} {0x00007f0fb8be86f8} 'test1' '([Ljava/lang/Object;Ljava/lang/Object;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      Uncommon trap bci=3 pc=0x00007f0fa460844c, relative_pc=0x000000000000022c, method=TestArrayAccessDeopt.test1([Ljava/lang/Object;Ljava/lang/Object;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test1 compiler=c2 compile_id=12 (@0x00007f0fa460844c) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb454d1b0 mode 2
           {method} {0x00007f0fb8be86f8} 'test1' '([Ljava/lang/Object;Ljava/lang/Object;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      Uncommon trap bci=3 pc=0x00007f0fa460844c, relative_pc=0x000000000000022c, method=TestArrayAccessDeopt.test1([Ljava/lang/Object;Ljava/lang/Object;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test1 compiler=c2 compile_id=12 (@0x00007f0fa460844c) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb4549830 mode 2
           {method} {0x00007f0fb8be86f8} 'test1' '([Ljava/lang/Object;Ljava/lang/Object;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      Uncommon trap bci=3 pc=0x00007f0fa460844c, relative_pc=0x000000000000022c, method=TestArrayAccessDeopt.test1([Ljava/lang/Object;Ljava/lang/Object;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test1 compiler=c2 compile_id=12 (@0x00007f0fa460844c) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb454d1b0 mode 2
           {method} {0x00007f0fb8be86f8} 'test1' '([Ljava/lang/Object;Ljava/lang/Object;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      Uncommon trap bci=3 pc=0x00007f0fa4609140, relative_pc=0x0000000000000220, method=TestArrayAccessDeopt.test2([Ljava/lang/Object;LMyValue1$ref;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test2 compiler=c2 compile_id=14 (@0x00007f0fa4609140) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb454ade0 mode 2
           {method} {0x00007f0fb8be87c0} 'test2' '([Ljava/lang/Object;LMyValue1$ref;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      Uncommon trap bci=3 pc=0x00007f0fa4609140, relative_pc=0x0000000000000220, method=TestArrayAccessDeopt.test2([Ljava/lang/Object;LMyValue1$ref;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test2 compiler=c2 compile_id=14 (@0x00007f0fa4609140) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb454c340 mode 2
           {method} {0x00007f0fb8be87c0} 'test2' '([Ljava/lang/Object;LMyValue1$ref;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      Uncommon trap bci=3 pc=0x00007f0fa4609140, relative_pc=0x0000000000000220, method=TestArrayAccessDeopt.test2([Ljava/lang/Object;LMyValue1$ref;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test2 compiler=c2 compile_id=14 (@0x00007f0fa4609140) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb454ade0 mode 2
           {method} {0x00007f0fb8be87c0} 'test2' '([Ljava/lang/Object;LMyValue1$ref;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      Uncommon trap bci=3 pc=0x00007f0fa4609140, relative_pc=0x0000000000000220, method=TestArrayAccessDeopt.test2([Ljava/lang/Object;LMyValue1$ref;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test2 compiler=c2 compile_id=14 (@0x00007f0fa4609140) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb454c340 mode 2
           {method} {0x00007f0fb8be87c0} 'test2' '([Ljava/lang/Object;LMyValue1$ref;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      Uncommon trap bci=3 pc=0x00007f0fa460b6f0, relative_pc=0x00000000000002b0, method=TestArrayAccessDeopt.test5([Ljava/lang/Object;QMyValue1;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test5 compiler=c2 compile_id=20 (@0x00007f0fa460b6f0) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      REALLOC OBJECTS in thread 0x00007f0fb4029000
           object <0x00000000a69d8cc0> of type 'MyValue1' allocated (16 bytes)
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb454ade0 mode 2
           {method} {0x00007f0fb8be8a18} 'test5' '([Ljava/lang/Object;QMyValue1;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      Uncommon trap bci=3 pc=0x00007f0fa460b6f0, relative_pc=0x00000000000002b0, method=TestArrayAccessDeopt.test5([Ljava/lang/Object;QMyValue1;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test5 compiler=c2 compile_id=20 (@0x00007f0fa460b6f0) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      REALLOC OBJECTS in thread 0x00007f0fb4029000
           object <0x00000000a69d8ce0> of type 'MyValue1' allocated (16 bytes)
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb454c340 mode 2
           {method} {0x00007f0fb8be8a18} 'test5' '([Ljava/lang/Object;QMyValue1;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      Uncommon trap bci=3 pc=0x00007f0fa460b6f0, relative_pc=0x00000000000002b0, method=TestArrayAccessDeopt.test5([Ljava/lang/Object;QMyValue1;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test5 compiler=c2 compile_id=20 (@0x00007f0fa460b6f0) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      REALLOC OBJECTS in thread 0x00007f0fb4029000
           object <0x00000000a69d8d00> of type 'MyValue1' allocated (16 bytes)
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb454ade0 mode 2
           {method} {0x00007f0fb8be8a18} 'test5' '([Ljava/lang/Object;QMyValue1;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      Uncommon trap bci=3 pc=0x00007f0fa460b6f0, relative_pc=0x00000000000002b0, method=TestArrayAccessDeopt.test5([Ljava/lang/Object;QMyValue1;)V, debug_id=0
      Uncommon trap occurred in TestArrayAccessDeopt::test5 compiler=c2 compile_id=20 (@0x00007f0fa460b6f0) thread=2914005 reason=class_check action=maybe_recompile unloaded_class_index=-1 debug_id=0
      REALLOC OBJECTS in thread 0x00007f0fb4029000
           object <0x00000000a69d8d20> of type 'MyValue1' allocated (16 bytes)
      DEOPT UNPACKING thread 0x00007f0fb4029000 vframeArray 0x00007f0fb454c340 mode 2
           {method} {0x00007f0fb8be8a18} 'test5' '([Ljava/lang/Object;QMyValue1;)V' in 'TestArrayAccessDeopt' - aastore @ bci 3 sp = 0x00007f0fbb45e810
      ];
       stderr: [java version "16-valhalla" 2021-03-16
      Java(TM) SE Runtime Environment (fastdebug build 16-valhalla+1-118)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 16-valhalla+1-118, mixed mode)
      ]
       exitValue = 0

      java.lang.RuntimeException: 'Uncommon trap occurred' found in stdout

      at jdk.test.lib.process.OutputAnalyzer.shouldNotContain(OutputAnalyzer.java:235)
      at TestArrayAccessDeopt.main(TestArrayAccessDeopt.java:93)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

            thartmann Tobias Hartmann
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: