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

BasicDirectoryModel/ConcurrentModification.java fails with Out of Memory

XMLWordPrintable

      The javax/swing/plaf/basic/BasicDirectoryModel/ConcurrentModification.java test intermittently fails with java.lang.OutOfMemoryError: Java heap space.

      An excerpt from the test log:

      ----------System.out:(111/13332)----------
      [171.099s][warning][gc,alloc] Basic L&F File Loading Thread: Retried waiting for GCLocker too often allocating 1661 words
      [175.235s][warning][gc,alloc] Basic L&F File Loading Thread: Retried waiting for GCLocker too often allocating 672 words
      [175.235s][warning][gc,alloc] Thread-5: Retried waiting for GCLocker too often allocating 333 words
      [175.236s][warning][gc,alloc] Basic L&F File Loading Thread: Retried waiting for GCLocker too often allocating 1536 words
      [175.236s][warning][gc,alloc] Basic L&F File Loading Thread: Retried waiting for GCLocker too often allocating 1842 words
      [175.236s][warning][gc,alloc] Basic L&F File Loading Thread: Retried waiting for GCLocker too often allocating 2890 words
      ...

      ----------System.err:(58/4587)----------
      Exception in Basic L&F File Loading Thread: class java.lang.OutOfMemoryError: Java heap space
      Exception in Basic L&F File Loading Thread: class java.lang.OutOfMemoryError: Java heap space

      Exception: java.lang.IllegalArgumentException thrown from the UncaughtExceptionHandler in thread "Basic L&F File Loading Thread"
      Exception in Basic L&F File Loading Thread: class java.lang.OutOfMemoryError: Java heap space
      Exception in Basic L&F File Loading Thread: class java.lang.OutOfMemoryError: Java heap space

      Exception: java.lang.IllegalArgumentException thrown from the UncaughtExceptionHandler in thread "Basic L&F File Loading Thread"
      Exception in Thread-6: class java.lang.InterruptedException


      This is happening on macOS x64 only at the moment.

      The test is run with the following JVM arguments:
      -Xmx768m -XX:MaxRAMPercentage=6.25

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: