RFR: 8276095: ciReplay: replay failure due to incomplete ciMethodData information
Christian Hagedorn
chagedorn at openjdk.java.net
Thu Nov 11 13:52:37 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 118:
> 116: bool _protection_domain_initialized;
> 117: Handle _loader;
> 118: int _version;
You forgot to initialize `_version` to 0. Otherwise, it could contain garbage for old replay files without version number (possibly `> REPLAY_VERSION`).
-------------
PR: https://git.openjdk.java.net/jdk/pull/6344
More information about the hotspot-dev
mailing list