[lworld] RFR: 8373374: [lworld] Remove Unsafe.get/putValue

Jatin Bhateja jbhateja at openjdk.org
Thu Dec 11 17:55:53 UTC 2025


On Tue, 9 Dec 2025 23:21:17 GMT, Chen Liang <liach at openjdk.org> wrote:

> Remove the old Unsafe getValue and putValue, which had some performance difficulties because they are megamorphic depending on the exact layout.

Removed my comments unrelated to this PR and moved them to following merge PR which has been updated with latest code from lworld
https://github.com/openjdk/valhalla/pull/1688

I plan to conclude this merge by next week, there are some failures, if the code changes are too many then I will open seperate follow up PRs for them instead of adding them with merge.

We don't use Unsafe.putValue/getValue in VectorAPI fallback so removing them looks fine to me. 

Best Regards

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

PR Comment: https://git.openjdk.org/valhalla/pull/1782#issuecomment-3640703615


More information about the valhalla-dev mailing list