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

(fc) java/nio/channels/FileChannel/MapTest.java fails intermittently

XMLWordPrintable

    • b04
    • x86_64
    • os_x

        The test was interrupted by jtreg timeout and seems to be wedged at line 211 in MapTest.java, calling a native method: java.nio.MappedByteBuffer.force0

        ----------messages:(6/196)----------
        command: main MapTest
        reason: User specified action: run main/othervm MapTest
        Mode: othervm [/othervm specified]
        Timeout information:
        --- Timeout information end.
        elapsed time (seconds): 511.474
        ----------configuration:(0/0)----------
        ----------System.out:(6/174)----------
        Test file /var/folders/0q/43l3qwv150nfc26ptqw_c8jh000_dc/T/blah4778934991153415185.tmp initialized
        Zero size: OK
        Read: OK
        Write: OK
        High offset: OK
        Timeout refired 480 times
        ----------System.err:(0/0)----------

        The stack dump shows:

        2019-05-21 09:26:14
        Full thread dump Java HotSpot(TM) 64-Bit Server VM (13-ea+0-1085 mixed mode, sharing):

        Threads class SMR info:
        _java_thread_list=0x00007fbdb3f223b0, length=11, elements={
        0x00007fbdb6800000, 0x00007fbdb7000000, 0x00007fbdb4008800, 0x00007fbdb681e000,
        0x00007fbdb681f000, 0x00007fbdb6828000, 0x00007fbdb7009000, 0x00007fbdb410d800,
        0x00007fbdb608a000, 0x00007fbdb700a800, 0x00007fbdb6820000
        }

        "main" #1 prio=5 os_prio=31 cpu=110.72ms elapsed=503.55s tid=0x00007fbdb6800000 nid=0x2103 in Object.wait() [0x0000000106bc2000]
           java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(java.base@13-ea/Native Method)
        - waiting on <0x00000007e00c0258> (a java.lang.Thread)
        at java.lang.Thread.join(java.base@13-ea/Thread.java:1303)
        - locked <0x00000007e00c0258> (a java.lang.Thread)
        at java.lang.Thread.join(java.base@13-ea/Thread.java:1371)
        at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:74)

        "Reference Handler" #2 daemon prio=10 os_prio=31 cpu=17.84ms elapsed=503.52s tid=0x00007fbdb7000000 nid=0x3703 waiting on condition [0x00007000091cc000]
           java.lang.Thread.State: RUNNABLE
        at java.lang.ref.Reference.waitForReferencePendingList(java.base@13-ea/Native Method)
        at java.lang.ref.Reference.processPendingReferences(java.base@13-ea/Reference.java:241)
        at java.lang.ref.Reference$ReferenceHandler.run(java.base@13-ea/Reference.java:213)

        "Finalizer" #3 daemon prio=8 os_prio=31 cpu=0.31ms elapsed=503.52s tid=0x00007fbdb4008800 nid=0x3a03 in Object.wait() [0x00007000092cf000]
           java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(java.base@13-ea/Native Method)
        - waiting on <0x00000007e006e168> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(java.base@13-ea/ReferenceQueue.java:155)
        - locked <0x00000007e006e168> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(java.base@13-ea/ReferenceQueue.java:176)
        at java.lang.ref.Finalizer$FinalizerThread.run(java.base@13-ea/Finalizer.java:170)

        "Signal Dispatcher" #4 daemon prio=9 os_prio=31 cpu=0.37ms elapsed=503.31s tid=0x00007fbdb681e000 nid=0x5503 runnable [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE

        "C2 CompilerThread0" #5 daemon prio=9 os_prio=31 cpu=149.17ms elapsed=503.29s tid=0x00007fbdb681f000 nid=0xa803 waiting on condition [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE
           No compile task

        "C1 CompilerThread0" #13 daemon prio=9 os_prio=31 cpu=124.07ms elapsed=503.29s tid=0x00007fbdb6828000 nid=0x5803 waiting on condition [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE
           No compile task

        "Sweeper thread" #17 daemon prio=9 os_prio=31 cpu=4.80ms elapsed=503.29s tid=0x00007fbdb7009000 nid=0xa403 runnable [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE

        "Service Thread" #18 daemon prio=9 os_prio=31 cpu=0.20ms elapsed=503.26s tid=0x00007fbdb410d800 nid=0xa003 runnable [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE

        "Common-Cleaner" #19 daemon prio=8 os_prio=31 cpu=0.99ms elapsed=502.90s tid=0x00007fbdb608a000 nid=0x9d03 in Object.wait() [0x0000700009ae7000]
           java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(java.base@13-ea/Native Method)
        - waiting on <0x00000007e00a7e68> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(java.base@13-ea/ReferenceQueue.java:155)
        - locked <0x00000007e00a7e68> (a java.lang.ref.ReferenceQueue$Lock)
        at jdk.internal.ref.CleanerImpl.run(java.base@13-ea/CleanerImpl.java:148)
        at java.lang.Thread.run(java.base@13-ea/Thread.java:830)
        at jdk.internal.misc.InnocuousThread.run(java.base@13-ea/InnocuousThread.java:134)

        "MainThread" #21 prio=5 os_prio=31 cpu=734.82ms elapsed=502.87s tid=0x00007fbdb700a800 nid=0x5e03 runnable [0x0000700009bea000]
           java.lang.Thread.State: RUNNABLE
        at java.nio.MappedByteBuffer.force0(java.base@13-ea/Native Method)
        at java.nio.MappedByteBuffer.force(java.base@13-ea/MappedByteBuffer.java:301)
        at MapTest.testForce(MapTest.java:211)
        at MapTest.main(MapTest.java:70)
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@13-ea/Native Method)
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@13-ea/NativeMethodAccessorImpl.java:62)
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@13-ea/DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(java.base@13-ea/Method.java:567)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.lang.Thread.run(java.base@13-ea/Thread.java:830)

        "Attach Listener" #22 daemon prio=9 os_prio=31 cpu=62.60ms elapsed=15.98s tid=0x00007fbdb6820000 nid=0x5a07 waiting on condition [0x0000000000000000]
           java.lang.Thread.State: RUNNABLE

        "VM Thread" os_prio=31 cpu=57.78ms elapsed=503.52s tid=0x00007fbdb6050800 nid=0x4603 runnable

        "GC Thread#0" os_prio=31 cpu=4.94ms elapsed=503.54s tid=0x00007fbdb6819000 nid=0x2e03 runnable

        "GC Thread#1" os_prio=31 cpu=4.39ms elapsed=7.13s tid=0x00007fbdb68e0800 nid=0x610b runnable

        "GC Thread#2" os_prio=31 cpu=4.26ms elapsed=7.13s tid=0x00007fbdb608c800 nid=0x600b runnable

        "GC Thread#3" os_prio=31 cpu=4.19ms elapsed=7.13s tid=0x00007fbdb68e1800 nid=0x9a07 runnable

        "GC Thread#4" os_prio=31 cpu=3.60ms elapsed=7.13s tid=0x00007fbdb8001000 nid=0x1607 runnable

        "GC Thread#5" os_prio=31 cpu=3.96ms elapsed=7.13s tid=0x00007fbdb608d800 nid=0x2707 runnable

        "GC Thread#6" os_prio=31 cpu=3.23ms elapsed=7.13s tid=0x00007fbdb410b000 nid=0x6507 runnable

        "GC Thread#7" os_prio=31 cpu=2.74ms elapsed=7.13s tid=0x00007fbdb80af000 nid=0x9803 runnable

        "GC Thread#8" os_prio=31 cpu=3.75ms elapsed=7.13s tid=0x00007fbdb608e000 nid=0x6703 runnable

        "GC Thread#9" os_prio=31 cpu=3.56ms elapsed=7.13s tid=0x00007fbdb608f000 nid=0x9603 runnable

        "GC Thread#10" os_prio=31 cpu=2.75ms elapsed=7.13s tid=0x00007fbdb7845000 nid=0x6903 runnable

        "GC Thread#11" os_prio=31 cpu=3.77ms elapsed=7.13s tid=0x00007fbdb608f800 nid=0x9403 runnable

        "G1 Main Marker" os_prio=31 cpu=0.12ms elapsed=503.54s tid=0x00007fbdb681d000 nid=0x4f03 runnable

        "G1 Conc#0" os_prio=31 cpu=0.06ms elapsed=503.54s tid=0x00007fbdb6001000 nid=0x3103 runnable

        "G1 Refine#0" os_prio=31 cpu=0.15ms elapsed=503.53s tid=0x00007fbdb4108800 nid=0x4b03 runnable

        "G1 Young RemSet Sampling" os_prio=31 cpu=64.61ms elapsed=503.53s tid=0x00007fbdb4109800 nid=0x4a03 runnable
        "VM Periodic Task Thread" os_prio=31 cpu=156.65ms elapsed=503.26s tid=0x00007fbdb8002800 nid=0x5b03 waiting on condition

        JNI global refs: 17, weak refs: 0

              bpb Brian Burkhalter
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: