RFR: 8247732: validate user-input intrinsic_ids in ControlIntrinsic [v9]

Xin Liu xliu at openjdk.java.net
Fri Dec 4 20:46:11 UTC 2020


On Fri, 4 Dec 2020 08:31:19 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> This patch causes failures with `compiler/compilercontrol/commands/ControlIntrinsicTest.java`:
>>  
>> java.lang.RuntimeException: CompileCommand: option *Internal*.* missing in output: expected true, was false
>> 	at jdk.test.lib.Asserts.fail(Asserts.java:594)
>> 	at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
>> 	at compiler.compilercontrol.share.processors.CommandProcessor.check(CommandProcessor.java:73)
>
> `compiler/compilercontrol/mixed/RandomValidCommandsTest.java` fails as well:
> java.lang.RuntimeException: CompileCommand: option *.*$method missing in output: expected true, was false
> 	at jdk.test.lib.Asserts.fail(Asserts.java:594)
> 	at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
> 	at compiler.compilercontrol.share.processors.CommandProcessor.check(CommandProcessor.java:73)
> 
> You may need `-XX:CompileThreshold=100` to reproduce.

take a look the failure.

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

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


More information about the hotspot-compiler-dev mailing list