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

Vladimir Kozlov kvn at openjdk.java.net
Thu Nov 11 16:58:39 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 645:

> 643:       _version = parse_int("version");
> 644:       if (_version > REPLAY_VERSION) {
> 645:         report_error("unrecognized version");

Would be nice to print both versions numbers in error message.
Also I would like to be able ignore such error and process file anyway. Is `report_error` allows it?

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

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


More information about the hotspot-dev mailing list