RFR: 8283441: C2: segmentation fault in ciMethodBlocks::make_block_at(int) [v3]

David Holmes dholmes at openjdk.java.net
Wed Apr 27 23:21:57 UTC 2022


On Mon, 25 Apr 2022 21:00:48 GMT, Dean Long <dlong at openjdk.org> wrote:

>> The new verifier checks for bytecodes falling off the end of the method, and the old verify does the same, but only for reachable code. So we need to be careful of falling off the end when compiling unreachable code verified by the old verifier.
>
> Dean Long has updated the pull request incrementally with one additional commit since the last revision:
> 
>   reformat

test/hotspot/jtreg/compiler/parsing/Custom.jasm line 26:

> 24: package compiler/parsing;
> 25: 
> 26: super public class Custom {

Shouldn't this class be declaring an old class version so that it will be processed by the old verifier? And then wouldn't you need to test both old and new verifiers?

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

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


More information about the hotspot-compiler-dev mailing list