RFR: 8299274: Add elements to resolved_references consistently

Coleen Phillimore coleenp at openjdk.org
Wed Jan 4 15:13:50 UTC 2023


On Wed, 4 Jan 2023 14:49:47 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

>> Shouldn't this method check the validity of the index argument?
>
>> I need it to return the existing value for the code in resolve_constant_at_impl().
> 
> So it's a getter/setter, but if the argument must be nullptr, I think we should skip it.

obj_at_put already checks the index.

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

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


More information about the hotspot-dev mailing list