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

Disable Fibonacci test on memory constrained systems

XMLWordPrintable

    • b11
    • linux

        Since the test case test/hotspot/jtreg/runtime/Thread/Fibonacci.java creates a huge number of threads, systems with not enough memory won't be able to execute the test case and might become unstable because of this test. The test is already disable for 32-bit windows because it can not handle the amount of threads. The test case should also be disabled for linux, if not enough memory is available.

        $ uname -srvmpio
        Linux 5.10.34-yocto-standard #1 PREEMPT Mon May 3 02:17:32 UTC 2021 armv5tejl armv5tejl armv5tejl GNU/Linux
        $ free -h
                       total used free shared buff/cache available
        Mem: 237Mi 23Mi 85Mi 3.0Mi 127Mi 202Mi
        Swap: 1.0Gi 7.0Mi 1.0Gi

          1. Fibonacci.jtr
            52 kB
            Christoph Göttschkes

              cgo Christoph Göttschkes (Inactive)
              cgo Christoph Göttschkes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: