RFR: 8266181: compiler/eliminateAutobox/TestEliminateBoxInDebugInfo should be in driver mode

Igor Ignatyev iignatyev at openjdk.java.net
Wed Apr 28 03:38:19 UTC 2021

On Wed, 28 Apr 2021 02:18:20 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

> Hi all,
> could you please review this small patch that switches the execution mode of TestEliminateBoxInDebugInfo to driver mode and makes a few small cleanups?
> from JBS:
>> TestEliminateBoxInDebugInfo creates a new JVM and verifies its output, hence it doesn't have to be run in the JDK in test configuration and can be run in driver mode.
> Thanks,
> -- Igor

I realized that a) I should have used `OutputAnalyzer::stdoutShouldMatch`; b) there is no need to use a regexp here; c) we don't check the exit code. the latest patch addresses this.


PR: https://git.openjdk.java.net/jdk/pull/3746

More information about the hotspot-compiler-dev mailing list