RFR: 8263353: assert(CompilerOracle::option_matches_type(option, value)) failed: Value must match option type [v2]

Jie Fu jiefu at openjdk.java.net
Thu Mar 11 06:31:28 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2910/files
  - new: https://git.openjdk.java.net/jdk/pull/2910/files/f1ed4da3..1d909ade

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2910&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2910&range=00-01

  Stats: 4 lines in 2 files changed: 1 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2910.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2910/head:pull/2910

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


More information about the hotspot-compiler-dev mailing list