Does non-gc heap belong to managed heap? #122446
Unanswered
shizihang20
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
It's an implementation detail. Most of the time - yes, it's just some random memory returned by VirtualAlloc/mmap outside of the gc_lower/gc_upper reserved bounds. Basically, any arbitrary memory can be registered as a non-gc heap (using a specialized API). There is an exception when a non-gc segment can be "within the gc heap range", AFAIR, it may happen only with the old "GC Segments" mode, never happens with GC Regions. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to figure out the underlying structure of the heap. I have noticed that the starting memory address of the non-gc heap is different from that of other gc heaps. Does this mean that the non-GC heap is not part of the managed heap?
Beta Was this translation helpful? Give feedback.
All reactions