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

Avoid repeated upcalls into Java to re-resolve MH/VH linkers/invokers

    XMLWordPrintable

    Details

    • Subcomponent:
    • Understanding:
      Fix Understood

      Description

      The following test timed out on two platforms in the JDK16 CI:

      java/util/stream/test/org/openjdk/tests/java/util/stream/SpliteratorTest.java

      Here's a snippet from the Linux-X64 log:

      #section:testng
      ----------messages:(7/410)----------
      command: testng org.openjdk.tests.java.util.stream.SpliteratorTest
      reason: Assumed action based on file name: run testng org.openjdk.tests.java.util.stream.SpliteratorTest
      Mode: othervm [test needs --add-modules, test or library overrides a system module]
      Additional options from @modules: --add-modules jdk.incubator.foreign
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 1437.672
      ----------configuration:(5/428)----------
      Boot Layer
        add modules: jdk.incubator.foreign
        add reads: java.base ALL-UNNAMED

      ----------System.out:(207/42802)----------
      [TestNG] Running:
        java/util/stream/test/org/openjdk/tests/java/util/stream/SpliteratorTest.java

      test org.openjdk.tests.java.util.stream.SpliteratorTest.testDoubleSpliterator("Arrays.s(array):empty", java.util.stream.DoubleStreamTestDataProvider$$Lambda$56/0x00000001000fb398@35adceef): success
      test org.openjdk.tests.java.util.stream.SpliteratorTest.testDoubleSpliterator("Arrays.s(array,o,l):empty", java.util.stream.DoubleStreamTestDataProvider$$Lambda$57/0x00000001000fb5d0@42aa08cd): success
      test org.openjdk.tests.java.util.stream.SpliteratorTest.testDoubleSpliterator("SpinedBuffer.s():empty", java.util.stream.DoubleStreamTestDataProvider$$Lambda$58/0x00000001000fb808@6de8c650): success
      test org.openjdk.tests.java.util.stream.SpliteratorTest.testDoubleSpliterator("Primitives.s(SpinedBuffer.iterator(), size):empty", java.util.stream.DoubleStreamTestDataProvider$$Lambda$59/0x00000001000fba40@195b660e): success
      test org.openjdk.tests.java.util.stream.SpliteratorTest.testDoubleSpliterator("Primitives.s(SpinedBuffer.iterator()):empty", java.util.stream.DoubleStreamTestDataProvider$$Lambda$60/0x00000001000fbc78@4f7d7d0f): success
      test org.openjdk.tests.java.util.stream.SpliteratorTest.testDoubleSpliterator("DoubleStream.iterate(0,x->x<l;x->x+1):empty", java.util.stream.DoubleStreamTestDataProvider$$Lambda$61/0x00000001000fbeb0@3a40c10c): success

      <snip>

      test org.openjdk.tests.java.util.stream.SpliteratorTest.testSegmentSpliterator("bytes", [1024:b8], org.openjdk.tests.java.util.stream.SegmentTestDataProvider$$Lambda$203/0x00000001000c3208@1997bb47): success
      test org.openjdk.tests.java.util.stream.SpliteratorTest.testSegmentSpliterator("chars", [1024:b16], org.openjdk.tests.java.util.stream.SegmentTestDataProvider$$Lambda$204/0x00000001000c3438@2ca39503): success
      test org.openjdk.tests.java.util.stream.SpliteratorTest.testSegmentSpliterator("shorts", [1024:b16], org.openjdk.tests.java.util.stream.SegmentTestDataProvider$$Lambda$205/0x00000001000c3668@6ab2a087): success
      test org.openjdk.tests.java.util.stream.SpliteratorTest.testSegmentSpliterator("ints", [1024:b32], org.openjdk.tests.java.util.stream.SegmentTestDataProvider$$Lambda$206/0x00000001000c3898@68de1eb4): success
      test org.openjdk.tests.java.util.stream.SpliteratorTest.testSegmentSpliterator("longs", [1024:b64], org.openjdk.tests.java.util.stream.SegmentTestDataProvider$$Lambda$207/0x00000001000c3ac8@6027718e): success
      Timeout refired 1200 times
      ----------System.err:(1/56)----------
      WARNING: Using incubator modules: jdk.incubator.foreign
      ----------rerun:(51/6812)*----------

      This test was modified by the following changeset:

          JDK-8254162 Implementation of Foreign-Memory Access API (Third Incubator)

      which is in the affected build-ID: jdk-16+25-1585-tier6

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vlivanov Vladimir Ivanov
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: