RFR: 8320530: has_resolved_ref_index flag not restored after resetting entry [v2]

Matias Saavedra Silva matsaave at openjdk.org
Tue Nov 28 22:22:22 UTC 2023


> ResolvedMethodEntry::reset_entry() clears the fields in the structure and then restores the constant pool index and the resolved references index if it has one. Currently, the resolved references index is restored without restoring the has_resolved_reference flag used by the structure. 
> 
> This patch restored the flag with the resolved references index. Verified with tier 1-5 tests.

Matias Saavedra Silva has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Added asserts to ensure correctness
 - Merge branch 'master' into resolved_ref_flag
 - Merge branch 'master' of https://github.com/openjdk/jdk into resolved_ref_flag
 - 8320530: has_resolved_ref_index flag not restored after resetting entry

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16769/files
  - new: https://git.openjdk.org/jdk/pull/16769/files/bff99660..273d82df

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16769&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16769&range=00-01

  Stats: 10779 lines in 510 files changed: 7760 ins; 1975 del; 1044 mod
  Patch: https://git.openjdk.org/jdk/pull/16769.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16769/head:pull/16769

PR: https://git.openjdk.org/jdk/pull/16769


More information about the hotspot-dev mailing list