RFR: 8281614: serviceability/sa/ClhsdbFindPC.java fails with java.lang.RuntimeException: 'In code in NMethod for jdk/test/lib/apps/LingeredApp.steadyState' missing from stdout/stderr
Chris Plummer
cjplummer at openjdk.java.net
Sat Feb 19 04:07:01 UTC 2022
This test has 4 test cases/modes: two core files test cases and two process. Each runs with and w/o `-Xcomp`. The `-Xcomp` test cases are not suppose to run when `-XX:+DeoptimizeALot` is used, because the test does some checks that assume certain methods will be compiled. This is handled by adding the following to the test case:
` * @requires vm.opt.DeoptimizeALot != true`
When this was first added, only the process test cases existed. Later on the core tests cases were added, and the `@requires` was copied improperly. It ended up with `#no-xcomp-process` rather than `#xcomp-core`, which allows the `#xcomp-core` test case to run even when `-XX:+DeoptimizeALot` is being used.
-------------
Commit messages:
- Move @requires to the correct test case.
Changes: https://git.openjdk.java.net/jdk/pull/7542/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7542&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8281614
Stats: 3 lines in 1 file changed: 1 ins; 1 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/7542.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7542/head:pull/7542
PR: https://git.openjdk.java.net/jdk/pull/7542
More information about the serviceability-dev
mailing list