For newer `runc`,  `--pids-limit=0` ends up capping the number of threads to 1 
instead of "Unlimited".

This PR reverts the [JDK-8274506](https://bugs.openjdk.org/browse/JDK-8274506) 
workaround for the issue we had with Podman 3.3.1.

[0] - https://github.com/opencontainers/runc/pull/4949
[1] - https://docs.podman.io/en/v4.4/markdown/options/pids-limit.html
[2] - https://github.com/podman-container-tools/podman/pull/11794

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - remove unused imports
 - 8392389: podman to use --pids-limit=-1 for unlimited threads

Changes: https://git.openjdk.org/jdk/pull/32877/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32877&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8392389
  Stats: 12 lines in 2 files changed: 0 ins; 10 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/32877.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32877/head:pull/32877

PR: https://git.openjdk.org/jdk/pull/32877

Reply via email to