RFR: 8276095: ciReplay: replay failure due to incomplete ciMethodData information

Vladimir Kozlov kvn at openjdk.java.net
Thu Nov 11 17:02:38 UTC 2021


On Thu, 11 Nov 2021 03:28:40 GMT, Dean Long <dlong at openjdk.org> wrote:

> The replay data was missing MethodData::_invocation_counter.  Adding it seems to fix the problem.  @rwestrel please verify if it works for you.  Also, with this change:
> 1. added a version number to the replay file
> 2. removed unnused ci fields
> 3. corrected comment in TestLambdas.java

src/hotspot/share/ci/ciReplay.cpp line 837:

> 835:     rec->_state = parse_int("state");
> 836:     if (_version < 1) {
> 837:       parse_int("current_mileage");

Why it is not assigned to `rec->_current_mileage` here?

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

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


More information about the hotspot-dev mailing list