RFR: Split out ContinuationEntry and ContinuationWrapper classes
Coleen Phillimore
coleenp at openjdk.java.net
Thu Apr 14 13:39:59 UTC 2022
On Thu, 14 Apr 2022 13:24:33 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> src/hotspot/share/runtime/continuationWrapper.inline.hpp line 51:
>>
>>> 49:
>>> 50: short _e_size;
>>> 51: short _e_num_interpreted_frames;
>>
>> The two JFR fields can be moved out of ContinuationWrapper altogether and put into a FreezeThawBase class in continuationFreezeThaw.cpp, where they can be guarded by `#if CONT_JFR`.
>
> I don't see the point of having this mess for two variable initializations.
maybe all the JFR code can go in freezethaw as you suggest.
-------------
PR: https://git.openjdk.java.net/loom/pull/145
More information about the loom-dev
mailing list