Skip to content

Open certain data structures to allow GC walking from roots to all reachable values#4

Open
fsoikin wants to merge 2 commits into
mbrezu:masterfrom
fsoikin:master
Open

Open certain data structures to allow GC walking from roots to all reachable values#4
fsoikin wants to merge 2 commits into
mbrezu:masterfrom
fsoikin:master

Conversation

@fsoikin
Copy link
Copy Markdown
Contributor

@fsoikin fsoikin commented Jul 29, 2014

This just makes certain internal members public - sufficient for walking the tree of references in terms of reachable values. Plus adds two methods to - Api.GetUsedStack and Api.GetCurrentEnvironment - which provide roots for the reference tree.

This is one small part of the ongoing public-ization process ultimately aimed at making the VM inspectable. This particular part represents minimal changes necessary for collecting garbage in the space of host-allocated handles.

fsoikin and others added 2 commits July 6, 2014 00:41
Conflicts:
	csharp/NShovel/Shovel/Value.cs
	csharp/NShovel/Shovel/Vm/Vm.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant