On Thu, 19 Feb 2026 18:05:00 GMT, Chen Liang <[email protected]> wrote:

> VarHandle reflectively checks if a class has oops (and does it incorrectly by 
> not filtering static fields). This information is easily accessible from acmp 
> maps, and we should use that instead of spinning our custom logic.

This pull request has now been integrated.

Changeset: c1d97ccf
Author:    Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/c1d97ccf7eaa12c5a564f84a56158faaa39c3c97
Stats:     402 lines in 6 files changed: 243 ins; 149 del; 10 mod

8378273: [lworld] Use acmp map to detect oops for VarHandle

Reviewed-by: rriggs, heidinga, phubner

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

PR: https://git.openjdk.org/valhalla/pull/2143

Reply via email to