RFR: 8283441: C2: segmentation fault in ciMethodBlocks::make_block_at(int) [v2]
Dean Long
dlong at openjdk.java.net
Mon Apr 25 20:45:30 UTC 2022
On Mon, 25 Apr 2022 06:32:12 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
>> Dean Long has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Update test/hotspot/jtreg/compiler/parsing/UnreachableBlockFallsThroughEndOfCode.java
>>
>> Co-authored-by: Tobias Hartmann <tobias.hartmann at oracle.com>
>
> src/hotspot/share/ci/ciMethodBlocks.cpp line 36:
>
>> 34:
>> 35: ciBlock *ciMethodBlocks::block_containing(int bci) {
>> 36: assert(bci >=0 && bci < _code_size, "valid bytecode range");
>
> Suggestion:
>
> assert(bci >= 0 && bci < _code_size, "valid bytecode range");
I copied that from the code below. I will fix both.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8374
More information about the hotspot-compiler-dev
mailing list