Go to the first, previous, next, last section, table of contents.


JOB_STACKFRAME_EPHEMERAL_STRUCT

JOB_STACKFRAME_EPHEMERAL_STRUCT stackframes in context will look as follows:

  job_RunState.l   ->   size in bytes of below stackframe
                        JOB_STACKFRAME_EPHEMERAL_STRUCT
                        raw int stack loc of next EPHEMERAL_STRUCT frame, or 0
                        (multiple slots holding ephemeral object)
                        size in bytes of above stackframe

                        ...

                        size in bytes of below stackframe
                        JOB_STACKFRAME_NORMAL   
                        local_variable_N
                        ...
                        local_variable_1
  job_RunState.v   ->   local_variable_0
                        compiledFunction for this frame.
                        programCounter for this frame.
                        size in bytes of above stackframe

The @$s.ephemeralStructs value of a job points to a linklist of ephemeral structs on the loop stack; The final link is zero.

A full getStackframe[ EPHEMERAL-STRUCT frame result looks like:

:owner             object
:kind              :ephemeral-struct


Go to the first, previous, next, last section, table of contents.