Short version: Stop testing this test with -Xcomp by adding requires vm.compMode != "Xcomp"
Make additional typo fixes and tidyups while here, it's just shocking. TestDescription.java contains the test definition, so the "requires" goes there, with a comment. Updates to from001.java are typos and clarifications, and a changed loop with a poll on a queue rather than block forever. ------------- Commit messages: - update - 8332551: Test vmTestbase/nsk/monitoring/MemoryNotificationInfo/from/from001/TestDescription.java timed out Changes: https://git.openjdk.org/jdk/pull/20146/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20146&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8332551 Stats: 76 lines in 2 files changed: 34 ins; 1 del; 41 mod Patch: https://git.openjdk.org/jdk/pull/20146.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/20146/head:pull/20146 PR: https://git.openjdk.org/jdk/pull/20146