Integrated: Garbage collectors explicitly transform stack chunk

Thomas Schatzl tschatzl at openjdk.java.net
Thu Mar 24 09:20:07 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

This pull request has now been integrated.

Changeset: 5f5d881a
Author:    Thomas Schatzl <tschatzl at openjdk.org>
Committer: Erik Österlund <eosterlund at openjdk.org>
URL:       https://git.openjdk.java.net/loom/commit/5f5d881a8fe51a632a06c08812e0125f5172e8c5
Stats:     133 lines in 18 files changed: 27 ins; 84 del; 22 mod

Garbage collectors explicitly transform stack chunk

Reviewed-by: stefank, eosterlund

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

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


More information about the loom-dev mailing list