Integrated: 8282715: typo compileony in test Test8005033.java
Xin Liu
xliu at openjdk.java.net
Tue Mar 8 17:37:11 UTC 2022
On Mon, 7 Mar 2022 05:33:26 GMT, Xin Liu <xliu at openjdk.org> wrote:
> This patch doesn't change the testing functionality. It was compiled before. HotSpot failed to handle compiler directive 'compileony'. As a result, it has to compile all methods.
>
> Here is the warning message
>
> CompileCommand: An error occurred during parsing
> Error: Unrecognized option 'compileony'
> Line: 'compileony,compiler.codegen.Test8005033::testBitCount'
>
> Usage: '-XX:CompileCommand=<option>,<method pattern>' - to set boolean option to true
> Usage: '-XX:CompileCommand=<option>,<method pattern>,<value>'
> Use: '-XX:CompileCommand=help' for more information and to list all option.
>
> After correcting the typo, hotspot only compiles the method it is supposed to test. Test time of fastdebug build reduces from 16.778s to 0.226s.
This pull request has now been integrated.
Changeset: 288d1afc
Author: Xin Liu <xliu at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/288d1afc5a2d5ac128b1b427bc877b7815925917
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
8282715: typo compileony in test Test8005033.java
Reviewed-by: jiefu, dholmes, thartmann
-------------
PR: https://git.openjdk.java.net/jdk/pull/7718
More information about the hotspot-compiler-dev
mailing list