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

Set node color on pinned HashMap.TreeNode deletion

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10, 11
    • Fix Version/s: 12
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b26
    • Introduced In Version:
      10
    • Resolved In Build:
      b07
    • Verification:
      Verified

      Description

      vmTestbase/vm/gc/containers/Combination05/TestDescription.java failed in tier4 with the following failure(s):

      ...
      Starting Thread[vm.gc.containers.ContainersTest$Mutator@3081d9dd,5,MainThreadGroup]
      Starting Thread[vm.gc.containers.ContainersTest$Mutator@1d2c9a4,5,MainThreadGroup]
      Starting Thread[vm.gc.containers.ContainersTest$Mutator@33aeb600,5,MainThreadGroup]
      Starting Thread[vm.gc.containers.ContainersTest$Mutator@ccedf35,5,MainThreadGroup]
      Starting Thread[vm.gc.containers.ContainersTest$Mutator@323fb040,5,MainThreadGroup]
      Starting Thread[vm.gc.containers.ContainersTest$Mutator@25b7c04a,5,MainThreadGroup]
      Exception in
      vm.gc.containers.ContainersTest$Mutator@64afc808
      java.lang.AssertionError
      at java.base/java.util.HashMap$TreeNode.moveRootToFront(HashMap.java:1896)
      at java.base/java.util.HashMap$TreeNode.putTreeVal(HashMap.java:2061)
      at java.base/java.util.HashMap.putVal(HashMap.java:633)
      at java.base/java.util.HashMap.put(HashMap.java:607)
      at java.base/java.util.HashSet.add(HashSet.java:220)
      at vm.gc.containers.CollectionContainer.update(CollectionContainer.java:74)
      at vm.gc.containers.ContainersTest$Mutator.run(ContainersTest.java:82)
      at nsk.share.runner.ThreadsRunner$ManagedThread.run(ThreadsRunner.java:83)
      Failures summary:
      java.lang.AssertionError
      at java.base/java.util.HashMap$TreeNode.moveRootToFront(HashMap.java:1896)
      at java.base/java.util.HashMap$TreeNode.putTreeVal(HashMap.java:2061)
      at java.base/java.util.HashMap.putVal(HashMap.java:633)
      at java.base/java.util.HashMap.put(HashMap.java:607)
      at java.base/java.util.HashSet.add(HashSet.java:220)
      at vm.gc.containers.CollectionContainer.update(CollectionContainer.java:74)
      at vm.gc.containers.ContainersTest$Mutator.run(ContainersTest.java:82)
      at nsk.share.runner.ThreadsRunner$ManagedThread.run(ThreadsRunner.java:83)
      ----------System.err:(40/2060)----------
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      Creating container: size = 100 count = 330972
      nsk.share.TestFailure: Test exit code: 97
      at nsk.share.test.Tests$TestRunner.execute(Tests.java:90)
      at nsk.share.test.Tests$TestRunner.run(Tests.java:96)
      at nsk.share.gc.GC.runTest(GC.java:114)
      at vm.gc.containers.ContainersTest.main(ContainersTest.java:157)
      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.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: nsk.share.TestFailure: Test exit code: 97
      JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bchristi Brent Christian
                Reporter:
                mikael Mikael Vidstedt
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: