[lworld] Integrated: 8348607: [lworld] Calls to Unsafe.getValue() / Unsafe.putValue() must be updated

Chen Liang liach at openjdk.org
Fri Jan 31 17:35:55 UTC 2025


On Wed, 29 Jan 2025 17:46:05 GMT, Chen Liang <liach at openjdk.org> wrote:

> Core libraries counterpart of #1336.
> 
> This requires MemberName to fetch more information in initialization. A new int high flag field is added, in anticipation to a merger with the regular int flag field in the future. Currently, directly migrating the flags field to long is too impactful to the whole codebase.
> 
> Also 8348680 is addressed as well; it's some minor updates to make the null checks specific to references VH.
> 
> Testing: test/jdk/java/lang/invoke

This pull request has now been integrated.

Changeset: ab4ae37b
Author:    Chen Liang <liach at openjdk.org>
Committer: Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/ab4ae37b80e79d324351c175b9f887aec0cb7427
Stats:     332 lines in 15 files changed: 80 ins; 43 del; 209 mod

8348607: [lworld] Calls to Unsafe.getValue() / Unsafe.putValue() must be updated
8348680: [lworld] Useless checks in generated VarHandle code for flat fields

Reviewed-by: rriggs, fparain

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

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


More information about the valhalla-dev mailing list