RFR: Garbage collectors explicitly transform stack chunk

Thomas Schatzl tschatzl at openjdk.java.net
Wed Mar 23 15:25:55 UTC 2022


On Wed, 23 Mar 2022 09:25:05 GMT, Stefan Karlsson <stefank 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).

Thanks @stefank @fisk for your reviews

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

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


More information about the loom-dev mailing list