RFR: Garbage collectors explicitly transform stack chunk

Stefan Karlsson stefank at openjdk.java.net
Wed Mar 23 09:28:53 UTC 2022


On Wed, 23 Mar 2022 09:09:36 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   can I have reviews for this change that makes garbage collectors explicitly transform stack chunks instead of relying on magic happening in `InstanceStackChunkKlass::copy_dis/conjoint`.
> 
> It also contains some refactoring suggested by @stefank in `Generation::promote`. Other than that it is a fairly straightforward change to replace `InstanceStackChunkKlass::copy_dis/conjoint` calls with explicit calls to `Copy::aligned_dis/conjoint_words` and `ContinuationGCSupport::transform_stack_chunk`.
> 
> This reduces code, and makes the code more understandable.
> 
> Test: tier1-5
> 
> Thanks,
>   Thomas

Marked as reviewed by stefank (no project role).

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

PR: https://git.openjdk.java.net/loom/pull/116


More information about the loom-dev mailing list