com/sun/jdi/ThreadMemoryLeakTest.java purposely runs with a small heap so it is easier to detect a memory leak with an OOME. Running without compressed oops uses more memory leading to an OOME even though there is no leak. We should require that this test be run only with compressed oops.
Tested by running just this test without compress oops and verifying that the test is not run, and also running with compressed oops and verifying that it is run. I also did an `-Xcomp` run to verify that it still is not run with `-Xcomp`. ------------- Commit messages: - Only run test with compressed oops enabled. Changes: https://git.openjdk.org/jdk/pull/20606/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20606&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8338482 Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/20606.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/20606/head:pull/20606 PR: https://git.openjdk.org/jdk/pull/20606