Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement frozen object heap #94515

Merged
merged 8 commits into from
Nov 13, 2023
Merged

Commits on Nov 8, 2023

  1. Implement frozen object heap

    When allocating a RuntimeType instances, we were creating an object on the pinned object heap, creating a handle to it, and purposefully leaked the handle. The RuntimeTypes live forever. This fragments the pinned object heap. So instead of doing that, port frozen object heap from CoreCLR. This is a line-by-line port. Frozen object heap is a segmented bump memory allocator that interacts with the GC to tell it the boundaries of the segments.
    MichalStrehovsky committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    12ba5b4 View commit details
    Browse the repository at this point in the history
  2. Fixes

    MichalStrehovsky committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    5e9c3c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd033d6 View commit details
    Browse the repository at this point in the history
  4. Forgot a file

    MichalStrehovsky committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    9cd6bce View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. FB1

    MichalStrehovsky committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    05dbdaf View commit details
    Browse the repository at this point in the history
  2. FB2

    MichalStrehovsky committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    66fa94b View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Update src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/Runt…

    …ime/FrozenObjectHeapManager.cs
    
    Co-authored-by: Jan Kotas <[email protected]>
    MichalStrehovsky and jkotas authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    7854e4c View commit details
    Browse the repository at this point in the history
  2. Update src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/Runt…

    …ime/FrozenObjectHeapManager.cs
    jkotas authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    f095349 View commit details
    Browse the repository at this point in the history