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 [v2]
Chris Plummer
cjplummer at openjdk.java.net
Wed Feb 23 05:56:18 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.
Chris Plummer has updated the pull request incrementally with one additional commit since the last revision:
Move @requires for Xcomp to the correct test case.
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/7542/files
- new: https://git.openjdk.java.net/jdk/pull/7542/files/11719d4f..6edf44a5
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7542&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7542&range=00-01
Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 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