Skip to content

[Epic]: Fix jitting of generator functions #6988

Open

Activity

  1. rhuanjl commented on May 2, 2024

    @rhuanjl
    Collaborator

    I actually think all those open issues/bugs are hitting the same underlying error but doing different things after hence not all the same crash message.

    I've added a testcase for what (I think is) the underlying issue of all those in #6990 as well as disabling Generator Function Jit BUT enabling the safer Generator Loop Body Jit.

  2. rhuanjl commented on May 3, 2024

    @rhuanjl
    Collaborator

    I haven't gone through them all but I think there are 30+ issues open that relate to this. Many of them are dups but it's hard to confirm how many.

    IF we disable generator JIT and enable the simpler loop-body-jit not sure what to do with all these issues whether to close them or keep them for ref if we ever re-visit generator JIT - my loop-body-jit PR includes a test case that I think captures the issue behind 5+ of the relevant issues but not sure about all of them.

  3. ppenzin commented on May 28, 2024

    @ppenzin
    Member

    A scenario to entertain: adding reproducers for these issues to the suite and close them if they pass with current loop-only JITing, then we will have a set of tests to clear when we reenable full function JITing.

  4. rhuanjl commented on May 30, 2024

    @rhuanjl
    Collaborator

    A scenario to entertain: adding reproducers for these issues to the suite and close them if they pass with current loop-only JITing, then we will have a set of tests to clear when we reenable full function JITing.

    I added a reduced test case for one point that I think underpins a lot of the issues here: https://github.com/chakra-core/ChakraCore/blob/master/test/es6GeneratorJit/newtest.js

    I didn't want to multiply equivalent cases; though it's hard to always work out exactly what is causing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions