A trivial cherry-pick of the following fix from main-line: [JDK-8384553](https://bugs.openjdk.org/browse/JDK-8384553) ProblemList runtime/jni/critical/SuspendInCritical.java for virtual threads
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8384553: ProblemList runtime/jni/critical/SuspendInCritical.java for virtual threads Changes: https://git.openjdk.org/valhalla/pull/2457/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2457&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8385015 Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod Patch: https://git.openjdk.org/valhalla/pull/2457.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2457/head:pull/2457 PR: https://git.openjdk.org/valhalla/pull/2457
