refactorings for less GC information callbacks
Merge pull request #1 from rainers/structDestructors

refactorings for less GC information callbacks