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

Tests fail with intermittent IOException during vm attach in RT_Baseline

XMLWordPrintable

    • svc

      Despite INTJDK-7606177 being resolved by removing stale pid-files during UTE startup around ~100 files are still left in the filesystem after a single run leading to a chance of Java warning:

      Java HotSpot(TM) Server VM warning: failed to remove stale attach pid file at /tmp/.java_pid10102

      Which will lead to any client trying to use the attach on demand mechanism failing with:

      Exception in thread "main" java.io.IOException: well-known file is not secure

      or

      java.io.IOException: Permission denied
      at sun.tools.attach.VirtualMachineImpl.open(Native Method)

      Host: vm-x2270-03, Intel Xeon 2268 MHz, 16 cores, 16G, Linux / Ubuntu 11.04, x86_64
      Options: -client -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:ReservedCodeCacheSize=256M

            cjplummer Chris Plummer
            allwin Peter Allwin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: