RFR: 8297284: ResolutionErrorTable's key is wrong [v2]
Ioi Lam
iklam at openjdk.org
Tue Nov 29 22:39:14 UTC 2022
On Tue, 29 Nov 2022 14:25:14 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> I wanted to leave that in so that there's an assert that it's negative first. The whole cpCache index thing is something that @matias9927 is trying to rationalize with his ResolvedIndyInfo array - should we continue to use negative indexes in the bytecode stream or not? We think not so he'll clean this part up, and if we do we'll need some encoding like what's in CPCACHE_INDEX_MANGLE_VALUE. Maybe the mangle value should be negative and he can change his positive indexes to negative to distinguish them from constant pool indexes.
OK, we can revisit this later.
-------------
PR: https://git.openjdk.org/jdk/pull/11244
More information about the hotspot-runtime-dev
mailing list