Integrated: Loom checked stack chunk casts
    Stefan Karlsson 
    stefank at openjdk.java.net
       
    Thu Mar 24 13:17:05 UTC 2022
    
    
  
On Thu, 24 Mar 2022 07:07:40 GMT, Stefan Karlsson <stefank at openjdk.org> 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 openjdk.org>
Committer: Ron Pressler <rpressler at openjdk.org>
URL:       https://git.openjdk.java.net/loom/commit/1a947434fce0134e60cf746f18539e567e5516e1
Stats:     64 lines in 10 files changed: 11 ins; 16 del; 37 mod
Loom checked stack chunk casts
Reviewed-by: eosterlund
-------------
PR: https://git.openjdk.java.net/loom/pull/119
    
    
More information about the loom-dev
mailing list