On Wed, 4 Mar 2026 11:03:55 GMT, Marc Chevalier <[email protected]> wrote:

> I just wonder whether we should add a warning on flatArrayOopDesc::obj_at(int 
> index, TRAPS) quickly stating why the obj_at(int) version doesn't exist so 
> nobody is tempted to reintroduce it. It's tempting, the ..., TRAPS) version 
> often have a version without. Until Frederic explained me what happens there, 
> I think I could have (re-)added it.

can we add `inline oop obj_at(int index) const = delete;` with the appropriate 
comment?

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

PR Comment: https://git.openjdk.org/valhalla/pull/2157#issuecomment-3996877754

Reply via email to