RFR: 8293785: Add a jtreg test for TraceOptoParse

Christian Hagedorn chagedorn at openjdk.org
Fri Oct 28 08:32:33 UTC 2022


On Fri, 28 Oct 2022 03:11:49 GMT, xpbob <duke at openjdk.org> wrote:

> Add a jtreg test for TraceOptoParse after [JDK-8293774](https://bugs.openjdk.org/browse/JDK-8293774)

Hi Bob

> Is this the jtreg test discussed here: https://github.com/openjdk/jdk/pull/10262#pullrequestreview-1106778703 ? @chhagedorn

Yes, exactly. Thanks for adding such a sanity test!

test/hotspot/jtreg/compiler/print/TestTraceOptoParse.java line 28:

> 26:  * @bug 8293785
> 27:  * @summary test for -XX:+TraceOptoParse
> 28:  * @requires vm.debug

You should also add `vm.compiler2.enabled` as the flag is C2 specific:
Suggestion:

 * @requires vm.debug & vm.compiler2.enabled

-------------

Changes requested by chagedorn (Reviewer).

PR: https://git.openjdk.org/jdk/pull/10898


More information about the hotspot-compiler-dev mailing list