RFR: 8318462: [GenShen] Prevent unsafe access to displaced mark-word [v2]

Roman Kennke rkennke at openjdk.org
Tue Oct 31 09:42:19 UTC 2023


On Thu, 19 Oct 2023 13:04:35 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> Just FYI: Here is another place to update object age, probably you want to consolidate.
> 
> https://github.com/openjdk/shenandoah/blob/master/src/hotspot/share/gc/shenandoah/shenandoahStringDedup.inline.hpp#L55

Right. The problem there is that this block of code does a sort of concurrent/atomic update of the object age that would require re-working and/or adding age helper methods. I'd rather not do that now.

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

PR Comment: https://git.openjdk.org/shenandoah/pull/343#issuecomment-1786851940


More information about the shenandoah-dev mailing list