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

Chen Liang liach at openjdk.org
Wed Feb 25 15:33:08 UTC 2026


On Thu, 19 Feb 2026 18:05:00 GMT, Chen Liang <liach at openjdk.org> 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 <liach at openjdk.org>
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


More information about the valhalla-dev mailing list