RFR: 8320530: has_resolved_ref_index flag not restored after resetting entry

Andrew Dinn adinn at openjdk.org
Wed Nov 22 16:58:05 UTC 2023


On Tue, 21 Nov 2023 16:38:14 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> 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.

Nice catch!

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

Marked as reviewed by adinn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16769#pullrequestreview-1744927229


More information about the hotspot-dev mailing list