RFR: 8320530: has_resolved_ref_index flag not restored after resetting entry

Matias Saavedra Silva matsaave at openjdk.org
Wed Nov 22 16:48:16 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.

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

Commit messages:
 - 8320530: has_resolved_ref_index flag not restored after resetting entry

Changes: https://git.openjdk.org/jdk/pull/16769/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16769&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8320530
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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