RFR: 8341587: [premain] Support Soft/Weak Reference in AOT cache [v3]

Mat Carter macarte at openjdk.org
Wed Feb 19 19:36:38 UTC 2025


> Add support to the AOT cache for References (soft, weak and phantom)
> Remove the workarounds that were added because References weren't supported
> 
> Confirmed from logs that References are stored in the cache correctly
> 
> All demos run successfully on osx

Mat Carter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:

 - Merge branch 'premain' into macarte-weakrefs
 - Fix style issue
 - Addressing PR feedback - moving assert higher
 - Fix missing line at end of file
 - Remove superfluous SuppressWarnings now we've removed unchecked casts
 - Remove workarounds now that References are supported in CDS

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

Changes:
  - all: https://git.openjdk.org/leyden/pull/41/files
  - new: https://git.openjdk.org/leyden/pull/41/files/447d3121..4c4a0d7b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=leyden&pr=41&range=02
 - incr: https://webrevs.openjdk.org/?repo=leyden&pr=41&range=01-02

  Stats: 59373 lines in 3338 files changed: 27394 ins; 17695 del; 14284 mod
  Patch: https://git.openjdk.org/leyden/pull/41.diff
  Fetch: git fetch https://git.openjdk.org/leyden.git pull/41/head:pull/41

PR: https://git.openjdk.org/leyden/pull/41


More information about the leyden-dev mailing list