dragonwell-project / dragonwell21

GNU General Public License v2.0
61 stars 18 forks source link

[Backport] 8316108: [Lilliput/JDK21] Cherry-pick: 8305898: Alternative self-forwarding mechanism #73

Closed linade closed 2 months ago

linade commented 2 months ago

Summary: Backport 8316108: [Lilliput/JDK21] Cherry-pick: 8305898: Alternative self-forwarding mechanism

Differences with upstream pr 17755:

  1. UseAltGCForwarding condition guards the critical parts of the change
  2. The use of displaced_mark_helper is explained in https://github.com/openjdk/jdk/pull/13779/files#r1305779757
  3. A test fix that only matters in 32-bit x86
  4. Cosmetic changes
CLAassistant commented 2 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.