RFR: Some more descriptive names, removed redundant asserts. Request for comments. [v3]

Ron Pressler rpressler at openjdk.java.net
Wed Apr 6 21:00:06 UTC 2022


On Wed, 6 Apr 2022 20:06:01 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> We make room on the stack to thaw frames. As we'll either thaw the topmost non-empty chunk or one frame, we just need to make room for the topmost non-empty chunk.
>
> So here the topmost chunk may be null.  Why is it null?  Is it null because it was already partially thawed and you leave space for a new chunk in the chunk memory?  In this case, you continue to the parent (next) frame.  Did I get that right?

Not null, but empty. I can't remember at the moment why we do it like that. I'll take a closer look.

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

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


More information about the loom-dev mailing list