Integrated: Loom checked stack chunk casts

Stefan Karlsson stefank at
Thu Mar 24 13:17:05 UTC 2022

On Thu, 24 Mar 2022 07:07:40 GMT, Stefan Karlsson <stefank at> wrote:

> Replace raw oop to stackChunkOops casts with calls to a ::cast function which asserts that the oops is a stackChunkOop. This is similar to what we do for other types like *Klass, *CollectedHeap, *Thread, ...
> Given that we assert when converting oops to stackChunkOops, I've also removed the redundant is_stackChunk asserts.

This pull request has now been integrated.

Changeset: 1a947434
Author:    Stefan Karlsson <stefank at>
Committer: Ron Pressler <rpressler at>
Stats:     64 lines in 10 files changed: 11 ins; 16 del; 37 mod

Loom checked stack chunk casts

Reviewed-by: eosterlund



More information about the loom-dev mailing list