RFR: 8263353: assert(CompilerOracle::option_matches_type(option, value)) failed: Value must match option type [v2]
Vladimir Kozlov
kvn at openjdk.java.net
Thu Mar 11 16:38:10 UTC 2021
On Thu, 11 Mar 2021 06:31:28 GMT, Jie Fu <jiefu at openjdk.org> wrote:
>> Hi all,
>>
>> The following assert fired while parsing -XX:CompileCommand=option,Test::test,TestOptionDouble,3.14.
>>
>> #
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> # Internal Error (/home/jvm/jdk/src/hotspot/share/compiler/compilerOracle.cpp:288), pid=9522, tid=9523
>> # assert(CompilerOracle::option_matches_type(option, value)) failed: Value must match option type
>> #
>>
>> It would be better to fix it.
>>
>> Testing:
>> - tier1~tier3 on Linux/x64, no regression
>>
>> Thanks.
>> Best regards,
>> Jie
>
> Jie Fu has updated the pull request incrementally with one additional commit since the last revision:
>
> Produce more accurate error message about missing specified type
Message is good now.
I suggest to add testing for missing other types too.
-------------
Changes requested by kvn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/2910
More information about the hotspot-compiler-dev
mailing list