Integrated: 8297284: ResolutionErrorTable's key is wrong

Coleen Phillimore coleenp at openjdk.org
Wed Nov 30 13:19:28 UTC 2022


On Fri, 18 Nov 2022 20:32:20 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> The resolution error table had a trick for the lookup key of adding constant pool index into constant pool address because that key was assumed to be in the range of the constant pool, so unique.  For failed indy resolution, we also use the resolution error table and the index is not relative to the constant pool, so the key is potentially not unique.  Created a Key class for the table and moved the cpool and index into that.  Now the ResolutionErrorEntry just has the messages.
> 
> Tested tier1-4.

This pull request has now been integrated.

Changeset: 301cf52f
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/301cf52fa2a913eb6bda1e31cbcb8e438a64c56e
Stats:     105 lines in 2 files changed: 31 ins; 43 del; 31 mod

8297284: ResolutionErrorTable's key is wrong

Reviewed-by: matsaave, iklam

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

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


More information about the hotspot-runtime-dev mailing list