RFR: 8273659: Replay compilation crashes with SIGSEGV since 8271911
Roland Westrelin
roland at openjdk.java.net
Wed Sep 15 09:08:45 UTC 2021
On Mon, 13 Sep 2021 22:11:16 GMT, Dean Long <dlong at openjdk.org> wrote:
>> I noticed replay fails when it encounters classes that it can't
>> resolve (when running with -XX:+ReplayIgnoreInitErrors).
>
> src/hotspot/share/ci/ciReplay.cpp line 445:
>
>> 443: if (k == NULL) {
>> 444: return NULL;
>> 445: }
>
> Do we need a call to report_error() for a descriptive message for these failure paths?
parse_method() has calls to report_error() when it returns NULL. I think it's true of parse_klass() except if SymbolTable::new_symbol() returns NULL (but can it return NULL?). Do you think extra messages make sense then?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5490
More information about the hotspot-compiler-dev
mailing list