Thread overview | |||||
---|---|---|---|---|---|
|
March 27, 2018 Where is TypeInfo stored? | ||||
---|---|---|---|---|
| ||||
I was doing some experiments with the runtime and I didn't notice the TypeInfo instances being allocated by the GC. Are these put into the text or data segments? Is there anyway to find out more about this process? |
March 27, 2018 Re: Where is TypeInfo stored? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jeremy DeHaan | On Tuesday, 27 March 2018 at 18:56:58 UTC, Jeremy DeHaan wrote:
> Are these put into the text or data segments?
Yeah, they are in the data segment as static data (just like if you declared your own static array).
|
March 27, 2018 Re: Where is TypeInfo stored? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On Tuesday, 27 March 2018 at 19:06:38 UTC, Adam D. Ruppe wrote:
> On Tuesday, 27 March 2018 at 18:56:58 UTC, Jeremy DeHaan wrote:
>> Are these put into the text or data segments?
>
> Yeah, they are in the data segment as static data (just like if you declared your own static array).
Awesome, thanks. That is what I was hoping for.
|
Copyright © 1999-2021 by the D Language Foundation